Distutils and alternative installation directories

J

Jeremy Sanders

I've been installing modules in Unix by using

python setup.py install --home=/usr/local/python/python-2.3

In PYTHONPATH I've included the
/usr/local/python/python-2.3/lib/python
directory (BTW, do I need to include . in PYTHONPATH?)

However, one module (Numeric) puts a file in the
/usr/local/python/python-2.3/lib/python directory. The directories in this
file don't get added to the sys.path list. Is there anyway to fix this,
except by explicitly adding the directories in the Numeric.pth file to the
PYTHONPATH?

Also I'm installing a module which uses numarray. Can I get distutils take
account of the location of numarray when building this module? It doesn't
add -I/usr/local/python/python-2.3/include to the compilation flags.

Thanks

Jeremy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top