[Distutils] Installing namespace packages with pip inserts strange modules into sys.modules
Eric V. Smith
eric at trueblade.com
Fri Sep 12 21:24:13 CEST 2014
[Oops, replying to the list this time. Sorry for the dupe, Thomas.]
On 9/12/2014 3:14 PM, Thomas Heller wrote:
> So it seems that it is a bug in setuptools: It must not create or
> install these pth files when installing in Python 3.3 or newer (which
> implement PEP 420).
PEP 420 goes out of its way to support pkgutil.extend_path():
http://legacy.python.org/dev/peps/pep-0420/#migrating-from-legacy-namespace-packages
So it should be possible for some cross-version code to work.
-- Eric.
More information about the Distutils-SIG
mailing list