----- Original Message ----- > From: "Piotr Ożarowski" <pi...@debian.org> > To: "Mathieu Desnoyers" <mathieu.desnoy...@efficios.com> > Cc: 765...@bugs.debian.org > Sent: Monday, October 13, 2014 11:59:37 AM > Subject: Re: Bug#765022: closed by Piotr Ożarowski <pi...@debian.org> (Re: > Bug#765022: python3: site-packages missing > from python3 sys.path path list) > > [Mathieu Desnoyers, 2014-10-13] > > The page you link to explains why Debian Python 3PP > > packages install into dist-packages, but not why the > > python interpreter search for packages only within > > dist-packages, but not site-packages. > > it installs into dist-packages so that it *doesn't have to* search > in site-packages.
Here you state that the reason why Debian Python 3PP are installed into dist-packages is *because* it does not have to search in site-packages. I think your statement is logically flawed: the installation is done in dist-packages so the installed python packages don't conflict with those in site-packages. The search path need to include dist-packages because the 3PP python packages are there, but we should not care whether site-packages is in the module search path or not. > That's the main purpose of dist-packages existence > (Python upstream developers are not annoyed that we overwrite their > files and we're not annoyed they overwrite ours) I agree with this last sentence (part between parenthesis), but it does not support in any way the claim from your first sentence. > > > Can you explain specifically which part of the > > documentation applies to my original question > > from your point of view ? > > http://www.debian.org/doc/packaging-manuals/python-policy/ch-python.html#s-paths > This link specifically says: "For a local installation by the administrator of python2.6 and later, a special directory is reserved to Python modules which should only be available to this Python, /usr/local/lib/python2.Y/site-packages (and /usr/local/lib/python3/site-packages for all python3 versions)." How is a user supposed to get Python to find those local packages without having to override his environment variables, given that those paths don't appear in the sys.path ? Thanks, Mathieu -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org