To be able to stay with latest development version, use the following method.
For more detail on Ubuntu and Gentoo, see Note Section below
Instructions for most Linux Systems using subversion:
# Do not use the root account for this, as it may not work in all cases cd $HOME mkdir src cd src svn checkout http://svn.dabodev.com/dabo/trunk dabo # Change "/usr/lib/python" according to your system preference: cd /usr/lib/python/site-packages ### Note: in Ubuntu 9.10, the correct directory is /usr/local/lib/python2.6/dist-packages # Found by Chris Green # You need root privilege to create the following link in site-packages sudo ln -s $HOME/src/dabo/dabo dabo # If i want to do a svn up: cd $HOME/src/dabo; svn up # To get a specific revision, use: cd $HOME/src/dabo; svn up -r revisionnumber # where revisionnumber is the numer of the revision you want to use. # To check that dabo works correctly, run the DaboDemo.py cd $HOME/src/dabo/demo python DaboDemo.py
NOTE SECTION
For Gentoo users I have created a dabo ebuild and an ebuild for setuptools which is needed to install dabo. These ebuilds can be found on my home page http://www.electron.me.uk
Regards,
Geoff
For Ubuntu 8.04 hardy and 8.10 Intrepid a simple way is to
Run the terminal from Ubuntu menu -> Accessories -> terminal and type the line below
sudo apt-get --yes install python-reportlab python-wxgtk2.8 subversion
Next go up to the top, Instructions for most Linux Systems using subversion: to complete the install
Good luck
Bob
For Ubuntu (and probably any apt based system) there's the getdabo.sh script (tested on Ubuntu 7.04 Feisty Fawn).
# getdabo.sh # gets dabo and dependencies, create site-packages symlink. # -e exit on error, -x print commands set -ex sudo apt-get --yes install python-reportlab python-wxgtk2.8 subversion python-mysqldb svn checkout http://svn.dabodev.com/dabo/trunk dabo cd dabo sudo python setup.py install
You may use the following script to run the DaboDemo application
# testdabo.sh # runs the DaboDemo ap set -ex cd dabo/demo python DaboDemo.py
To fix the problem on multiversion installation of wx, edit dabo/demo/DaboDemo.py and add these lines:
try:
import wxversion
except ImportError:
pass
else:
wxversion.select(2.8)