| 1 |
Dabo - Some brief installation notes. |
|---|
| 2 |
|
|---|
| 3 |
PREREQUISITES: |
|---|
| 4 |
+ Python (we recommend the latest, currently 2.5) |
|---|
| 5 |
+ sqlite3 (comes with Python 2.5) or pysqlite2 (install separately) |
|---|
| 6 |
+ wxPython UNICODE BUILD (we recommend the latest, currently 2.8) |
|---|
| 7 |
+ MySQLdb (to run the demos) |
|---|
| 8 |
+ reportlab |
|---|
| 9 |
+ PIL (also known as Imaging or the Python Imaging Library) |
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
INSTALLATION: |
|---|
| 13 |
Windows: run 'win_setup.bat' |
|---|
| 14 |
Mac or Linux: As root or administrator, execute the following shell command: |
|---|
| 15 |
python setup.py install |
|---|
| 16 |
|
|---|
| 17 |
That's it! |
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
OTHER STUFF: |
|---|
| 21 |
There are two other directories in the same folder as this file: 'demo' and |
|---|
| 22 |
'ide'. They contain useful programs (written in Dabo, of course!) to help |
|---|
| 23 |
you explore and develop with Dabo. You should move these to a convenient |
|---|
| 24 |
folder on your system, such as 'My Documents\Dabo' on Windows, or '~/dabo' on |
|---|
| 25 |
Linux or Mac. |
|---|
| 26 |
|
|---|
| 27 |
The 'demo' folder contains the DaboDemo application, which shows off a lot of |
|---|
| 28 |
the cool things in Dabo. This is still a work-in-progress, with more demos |
|---|
| 29 |
being added all the time. Be sure to check the website for updates! |
|---|
| 30 |
|
|---|
| 31 |
The 'ide' folder contains our visual tools, such as the Class Designer, which |
|---|
| 32 |
you can use to visually design your UI; the connection editor ('CxnEditor'), |
|---|
| 33 |
which is used to create connections to database servers, as well as several |
|---|
| 34 |
other useful visual tools. |
|---|
| 35 |
|
|---|
| 36 |
|
|---|
| 37 |
HAVING PROBLEMS? |
|---|
| 38 |
But... if you have trouble installing, and for whatever reason the setup.py |
|---|
| 39 |
doesn't work, just add a file named 'dabo.pth' to your site-packages directory, |
|---|
| 40 |
with the path to dabo e.g. '/home/pmcnett/projects/dabo'. |
|---|
| 41 |
|
|---|
| 42 |
If you are on Linux and got the following error: |
|---|
| 43 |
error: invalid Python installation: unable to open /usr/lib/python2.4/config/Makefile (No such file or directory) |
|---|
| 44 |
|
|---|
| 45 |
and you really want to get setup.py to install dabo for you, you need to |
|---|
| 46 |
install the python-dev package. For instance (on Debian): |
|---|
| 47 |
|
|---|
| 48 |
apt-get install python2.4-dev |
|---|