Changeset 235

Show
Ignore:
Timestamp:
04/30/2004 11:45:42 AM (5 years ago)
Author:
paul
Message:

More info in INSTALL.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/INSTALL

    r56 r235  
    1 < software will be installed using the Python distutils - python setup.py install > 
     1Dabo will be installed using the Python distutils - python setup.py install, 
     2but that isn't set up yet, so here is a quick blurb to get you going. 
     3 
     4Dabo is a runtime library, which your applications will import using standard Python 
     5syntax. Therefore, it needs to be in PYTHONPATH, so that your 'import dabo' statements 
     6will find it. The easiest way to do this is to put dabo into your Python installation's 
     7site-packages directory. The easiest way to find out where this is on your system (yes, 
     8it varies, so we can't just tell you where it is) is to start Python and query sys.path. 
     9 
     10For instance: 
     11 
     12[pmcnett@sol dabo]$ python 
     13Python 2.3.2 (#1, Oct  6 2003, 10:07:16) 
     14[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)] on linux2 
     15Type "help", "copyright", "credits" or "license" for more information. 
     16>>> import sys 
     17>>> sys.path 
     18['', '/home/pmcnett/dl/python/wxPythonSrc-2.5.1.5/wxPython', '/usr/lib/python23.zip',  
     19'/usr/lib/python2.3', '/usr/lib/python2.3/plat-linux2', '/usr/lib/python2.3/lib-tk',  
     20'/usr/lib/python2.3/lib-dynload', '/usr/lib/python2.3/site-packages',  
     21'/usr/lib/python2.3/site-packages/PythonCAD', '/usr/local/gnue/lib/python'] 
     22 
     23I can see that my site-packages directory is installed in /usr/lib/python2.3/site-packages. 
     24So I can then copy or symlink the dabo root directory there to make it importable. You 
     25will likely need administrative privileges to do this on your system, unless you happen 
     26to be running Windows. 
     27