[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" -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org