custom site_dirs location

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 altinstall.pth the directories are not added to sys.path. In sitecustomize.py, by other hand, the code works just fine. btw, i've not found any other manner to set a list for site-dirs in distutils.cfg than this: site_dirs = /path/to/dir1,/path/to/dir2 . Any space, tab or quote makes it fail for me :-S Any clue ? Thank you. --adso this works for me, though --- /home/user/opt/lib/python2.6/site-packages/altinstall.pth -- /home/user/opt/lib/python2.6/site-packages-testing3 /home/user/opt/lib/python2.6/site-packages-testing2 --- /home/user/opt/lib/python2.6/distutils/distutils.cfg --- [easy_install] site_dirs =/home/user/opt/lib/python2.6/site-packages-testing2,/home/user/opt/lib/python2.6/site-packages-testing3
participants (1)
-
adso 0000