[Distutils] custom site_dirs location. Solved

adso 0000 adso.lists at gmail.com
Tue Dec 14 02:30:16 CET 2010


Yeah. It was that.

In this mail this become clear
(http://www.mail-archive.com/distutils-sig@python.org/msg00439.html )

it seems the semi-colons are needed in .pth files,  and i was using
indentation as in python files. Thank you.

--adso

On Tue, Dec 14, 2010 at 2:23 AM, P.J. Eby <pje at telecommunity.com> wrote:
> At 01:54 AM 12/14/2010 +0100, adso 0000 wrote:
>>
>> Hi,
>> i am doing something wrong probably, but when i try to get a custom
>> site-packages location in Debian, i need to set the contents of
>> altinstall.pth just several line with the absolute paths.
>>
>> If i use the usual python code with site.addsitedir(....) in
>
> Are you using "import site; site.addsitedir(...)", or just
> "site.addsitedir(...)"?
>
>


More information about the Distutils-SIG mailing list