Stow and Python
Rev. Joe Doyle
doyle at nebcorp.com
Wed Oct 2 04:19:52 CEST 2002
jason petrone uttered poignantly:
> What?!?! You disgrace your alma mater by forsaking encap.
I've tried to get my employer to switch to epkg, but there was a
large installed base of stow packages when I got here; trust me, I'm all
for encap :)
> I always deal with this problem by installing like this:
> ./configure --prefix=/usr/local/
> make install prefix=/usr/local/encap/python-2.3
> epkg python
> rm -rf /usr/local/lib/python2.3/site-packages
> mv /usr/local/encap/python-2.3/lib/python2.3/site-packages /usr/local/lib/python2.3/
> That will put everything in the symlinked location except site-packages.
> If you just want to add some extra location to the default module path, you
> can also add os.path.append('/tools/bar/') to site.py in the python lib
This is exactly what I wanted; thank you.
More information about the Python-list