[issue6693] New functions in site.py to get user/global site packages paths

2009-08-20 Thread Tarek Ziadé
Tarek Ziadé added the comment: applied in r74526 and r74529 -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mail

[issue6693] New functions in site.py to get user/global site packages paths

2009-08-14 Thread Tarek Ziadé
Changes by Tarek Ziadé : Removed file: http://bugs.python.org/file14707/site.patch ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue6693] New functions in site.py to get user/global site packages paths

2009-08-14 Thread Tarek Ziadé
Tarek Ziadé added the comment: Done. I've put Christian in the loop since he implemented the PEP 370 feature, to make sure these changes are fine with him. -- nosy: +christian.heimes Added file: http://bugs.python.org/file14719/site.patch ___ Python

[issue6693] New functions in site.py to get user/global site packages paths

2009-08-13 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Two things: * The globals should get a comment explaining what their purpose is and where they are being initialized. * The get*() functions should only initialize the globals if they are set to None. In the patch, they are initialized every time the fun

[issue6693] New functions in site.py to get user/global site packages paths

2009-08-13 Thread Tarek Ziadé
New submission from Tarek Ziadé : As discussed in Distutils-SIG. Here's a patch for site.py that adds: - getsitepackages : Returns a list containing all global site-packages directories (and possibly site-python). - getusersitepackages: Returns the user-specific site-packages directory path.