[Python-Dev] Multiple levels of site-packages

Martin v. Löwis martin at v.loewis.de
Wed Aug 6 22:05:09 EDT 2003


Ronald Oussoren <oussoren at cistron.nl> writes:

> 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)?

It may cause problems, but it may also be a solution. If you have a
package that is independent of a version, you only need to install it
once.

Regards,
Martin




More information about the Python-Dev mailing list