[Distutils] PEP 376 - site-directories and site.addsitedir

Floris Bruynooghe floris.bruynooghe at gmail.com
Thu May 14 18:13:43 CEST 2009


On Thu, May 14, 2009 at 02:38:07PM +0100, Paul Moore wrote:
> 2009/5/14 Tarek Ziadé <ziade.tarek at gmail.com>:
> > I'd like to make a difference between what is "importable" and what is
> > "installed" in Python.
> >
> > what's "installed" for me is what is in a site-packages directory that
> > contains egg-info directories.
> 
> I'm not sure how well-defined that is. Can you precisely define what a
> "site-packages directory" is? Specifically, what about the Windows
> registry items under HKLM\Software\Python\PythonCore\x.y\PythonPath?
> There may be other "special" locations, I can't recall for certain.

I've treated those as an equivalent of the PYTHONPATH environment
variable (but one that doesn't require rebooting if you add to it
during a system wide installation).  So they are not site-packages
directories.

Regards
Floris

-- 
Debian GNU/Linux -- The Power of Freedom
www.debian.org | www.gnu.org | www.kernel.org


More information about the Distutils-SIG mailing list