[Python-modules-team] Bug#535855: Bug#535855: matplotlib._path

Piotr Ożarowski piotr at debian.org
Wed Jul 8 09:25:19 UTC 2009


[Thomas Viehmann, 2009-07-08]
> Fabrice Silva wrote:
>> I will try tonight at home. Which are the mechanism that add items to
>> sys.path ?
> sys.path is a regular python list, so sys.path.append("/foo") adds to the 
> end, sys.path.insert(i, "/foo") adds "/foo" in i-th position (put in your 
> favorite integer).

... or you can have PYTHONPATH env. var. set somewhere (f.e. in ~/.bashrc)

you can also grep your code (I assume nobody would do such nasty thing
in Debian package ;) for "siteaddsitedir\(" or "import site"





More information about the Python-modules-team mailing list