Distutils and alternative installation directories

Discussion in 'Python' started by Jeremy Sanders, Nov 23, 2004.

  1. 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
    Jeremy Sanders, Nov 23, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Christian Seberino
    Replies:
    0
    Views:
    256
    Christian Seberino
    Oct 11, 2003
  2. Christian Seberino
    Replies:
    0
    Views:
    262
    Christian Seberino
    Oct 11, 2003
  3. timw.google
    Replies:
    1
    Views:
    519
    Serge Orlov
    May 11, 2006
  4. Luis Alberto Zarrabeitia Gomez

    distutils, No module named numpy.distutils.fcompiler.conv_template

    Luis Alberto Zarrabeitia Gomez, Mar 30, 2009, in forum: Python
    Replies:
    0
    Views:
    1,288
    Luis Alberto Zarrabeitia Gomez
    Mar 30, 2009
  5. Ron Smith
    Replies:
    5
    Views:
    137
    Michele Dondi
    Nov 2, 2004
Loading...

Share This Page