[issue17727] document that some distributions change site.py defaults

Matthias Klose report at bugs.python.org
Sun Apr 14 12:30:05 CEST 2013


Matthias Klose added the comment:

the local patch adds as documentation on Debian/Ubuntu:

"""
For Debian and derivatives, this sys.path is augmented with directories
for packages distributed within the distribution. Local addons go
into /usr/local/lib/python<version>/dist-packages, Debian addons
install into /usr/lib/python3/dist-packages.
/usr/lib/python<version>/site-packages is not used.
"""

I can improve the local information, but I'm not sure how much should be added/changed in the upstream documentation.

So maybe we should add an option for python-config to get the site dirs, or the list of site dirs too?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17727>
_______________________________________


More information about the Python-bugs-list mailing list