[Distutils] Setuptools with custom path configuration
Jean-Paul Calderone
exarkun at divmod.com
Tue Oct 17 14:09:43 CEST 2006
On Mon, 16 Oct 2006 23:11:05 -0400, "Phillip J. Eby" <pje at telecommunity.com> wrote:
>At 09:19 PM 10/16/2006 -0400, Jean-Paul Calderone wrote:
>>I revisited setuptools again tonight hoping to learn a bit more about it.
>>Unfortunately I'm still stuck where I was last time I looked.
>>
>>I'm using Combinator to manage my Python libraries. This means that I have
>>a fair amount of software installed at ~/.local/lib/pythonX.Y/site-
>>packages, a PYTHONPATH which includes only
>>~/Projects/Divmod/trunk/Combinator, at which location resides a
>>sitecustomize.py which sets up the rest of my path.
>>
>> From the documentation, and various experimentation, it seems like this
>>configuration is still not supported.
>
>It is supported. What problem are you having? As long as you are having
>setuptools install packages to a directory on PYTHONPATH, you should be
>fine.
When I run ez_setup.py, it tells me:
TEST FAILED: /home/exarkun/.local/lib/python2.4/site-packages/ does NOT support .pth files
error: bad install directory or PYTHONPATH
...
/home/exarkun/.local/lib/python2.4/site-packages/ is not in PYTHONPATH,
but it has been passed to site.addsitedir().
Jean-Paul
More information about the Distutils-SIG
mailing list