Stow and Python

Rev. Joe Doyle doyle at
Mon Sep 30 19:13:05 EDT 2002

	Hello, I'm trying to build a Python package for a large 
installation, where packages are of the following form:

1) /usr/local is a symlink to /tools/foo

2) packages live in /tools/bar/package-name

3) within each package, there are "bin", "lib", etc. that get linked into 
/usr/local/ (using GNU stow).

	My problem is that the Python interpreter looks in the absolute 
real path for modules, rather than the symlinked "proper" path 
("/usr/local/lib" etc.).  How do I get it to look in the right place?  
Thanks in advance for any hints.

-Joe Doyle

More information about the Python-list mailing list