[Distutils] nspkg.pth files break $PYTHONPATH overrides
barry at python.org
Mon Mar 24 23:09:17 CET 2014
On Mar 24, 2014, at 05:53 PM, Donald Stufft wrote:
>See also https://github.com/pypa/pip/issues/3
Hah, yeah. I didn't realize --single-version-externally-managed is implied by
--root, and in fact our Debian build scripts often (either explicitly or
implicitly) define --root, as is the case in lazr.uri.
>Basically prior to PEP420 namespace packages were bad and using them results
>in pain sooner or later :( I’m not sure if a good solution yet, perhaps we
>can backport PEP420 to PyPI and have namespace packages depend on that?
Or maybe do a version check before installing this file? Python 3.3 and newer
will have PEP 420 support, and this file makes no sense in that case.
(Backporting PEP 420 support to Python 3.2 might be useful, though a pain
without importlib. There's no sense in backporting to Python 3.1, IMHO.)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: not available
More information about the Distutils-SIG