[Python-Dev] Multiple levels of site-packages

Ronald Oussoren oussoren at cistron.nl
Wed Aug 6 22:01:51 EDT 2003

On Wednesday, 6 August, 2003, at 20:38, Martin v. Löwis wrote:

> Ronald Oussoren <oussoren at cistron.nl> writes:
>> The Python distribution, and distutils, knows of two types of
>> packages/modules: those in the core distribution and the
>> site-packages.
> This is incorrect. The Python distribution knows about four types of
> packages: core distribution, site-packages, site-python, and

I didn't know about site-python, but this seems to be a 
version-independent directory. The code in site.py adds 
os.path.join(prefix, "lib", "site-python"), that doesn't include a 
version number. Wouldn't that cause problems if you have multiple 
versions of Python installed (especially when you place python 
extensions in that directory)?


More information about the Python-Dev mailing list