Once again, thanks. This has been a big help. Chuck
On 4/8/07, Ed Leafe <[EMAIL PROTECTED]> wrote: > On Apr 8, 2007, at 12:03 PM, Chuck Flowers wrote: > > > I got the Windows users not using cygwin part figured out, I think. > > A. Use "dabo.pth" in the site-packages to notify Python of the path > > or > > B. Put the dabo directory immediately under site-packages. > > Yes. This is true of any 3rd-party package added to Python. > > > I have no experience with Linux. > > For future reference re Linux, Mac, or Windows using cygwin install: > > > > 1. If installed to a dabo directory immediately under site-packages, > > can I assume that no symbolic link to the directory would be required > > ? > > Yes. Again, you have to let Python know about the package one way or > another. > > > 2. If I need to make a symbolic link, does the code below write out a > > file to disk somewhere, or is it required each time Python is started > > ? > > It writes out a symbolic link, which is not a file, but rather a > pointer similar to (but not the same as) a Windows shortcut. > > > 3. If a file is written: > > A. Where to (can I assume the site-packages directory because of > > cd to it ?) > > Yes. > > > B. What would the file be named (is it really /path/to/dabo/ > > package ?) > > It would be named the same thing as the file to which you are > linking. So the commands: > > cd /usr/lib/python2.5/site-packages/ > ln -s /home/ed/projects/dabo > > ...would create a symlink named 'dabo' in the site-packages directory > that points to the actual dabo directory. > > > C. What would the file look like if opened (or can it be) ? > > As far as the OS is concerned, opening a symlink to a directory is > the same as opening the original directory. You'd see the same files, > since they *are* the same files. > > > Below is typed into an OS command line, and not the Python command > > line, correct ? > > > >> From the Wiki: > > Under Linux, Mac [OS X]?, or cygwin you can simply make a symbolic > > link to your dabo project folder in your site-packages directory. > > Simply cd to the site-packages directory as determined above, and type > > the following (substituting the path to where you've set up your dabo > > framework package): > > ln -s /path/to/dabo/package > > > > Alternatively, you don't need to cd to the python lib if you type: ln > > -s --target-directory=`python -c "from distutils.sysconfig import > > get_python_lib; print get_python_lib()"` /path/to/dabo/package > > Yes. 'ln' is a basic *nix command. All of the above may seem > mysterious to you, but would be second nature to anyone who has > worked in Linux/Unix systems. > > -- Ed Leafe > -- http://leafe.com > -- http://dabodev.com > > > > _______________________________________________ > Post Messages to: [email protected] > Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users > Searchable Archives: http://leafe.com/archives/search/dabo-users > This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED] > _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]
