Changeset 1140 for trunk/INSTALL

Show
Ignore:
Timestamp:
08/09/2005 03:04:51 PM (3 years ago)
Author:
paul
Message:

Small cleanups of the various dabo text files in the root directory.
Removed LICENSE.TXT to follow with a symlink in the next commit.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/INSTALL

    r1121 r1140  
    1515 
    1616 
    17 PRIOR INSTRUCTIONS (OUT OF DATE) 
    18 Dabo is a runtime library, which your applications will import using standard  
    19 Python syntax. Therefore, it needs to be in PYTHONPATH, so that your  
    20 'import dabo' statements will find it. The easiest way to do this is to put  
    21 dabo into your Python installation's site-packages directory. The easiest way  
    22 to find out where this is on your system (yes, it varies, so we can't just tell 
    23 you where it is) is to start Python and query sys.path. 
    24  
    25 For instance: 
    26  
    27 [pmcnett@sol dabo]$ python 
    28 Python 2.3.2 (#1, Oct  6 2003, 10:07:16) 
    29 [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)] on linux2 
    30 Type "help", "copyright", "credits" or "license" for more information. 
    31 >>> import sys 
    32 >>> sys.path 
    33 ['', '/home/pmcnett/dl/python/wxPythonSrc-2.5.1.5/wxPython', '/usr/lib/python23.zip',  
    34 '/usr/lib/python2.3', '/usr/lib/python2.3/plat-linux2', '/usr/lib/python2.3/lib-tk',  
    35 '/usr/lib/python2.3/lib-dynload', '/usr/lib/python2.3/site-packages',  
    36 '/usr/lib/python2.3/site-packages/PythonCAD', '/usr/local/gnue/lib/python'] 
    37  
    38 I can see that my site-packages directory is installed in  
    39 /usr/lib/python2.3/site-packages. So I can then copy or symlink the dabo root  
    40 directory there to make it importable. You will likely need administrative  
    41 privileges to do this on your system, unless you happen to be running Windows, 
    42 which most likely will let you write to any location that you want. 
    43  
    44 If you would rather put dabo somewhere else, you can put a text file called  
    45 dabo.pth inside your Python site-packages directory. The contents of this file  
    46 must specify the parent directory where Dabo can be found. For instance, if  
    47 you put Dabo in c:\programs\myprogs\dabo, you'll need your dabo.pth to say  
    48 'c:\programs\myprogs'. 
    49