easy_install (via bdist_egg) adds __init__.py to PEP 420 namespace packages #148
Comments
Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco): Thanks for highlighting this issue and doing the investigation. I don't believe that kluge should be supported any longer, particularly because it now comes into conflict with PEP-420 packages. It'll require a backward-incompatible release, but let's back out that support. |
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Originally reported by: wyatt (Bitbucket: wyatt, GitHub: wyatt)
https://bitbucket.org/pypa/setuptools/src/13a839bd8ad27a17543878068b996991357264d2/setuptools/command/bdist_egg.py?at=default#cl-273
This makes other packages in the namespace unimportable.
Proposed solutions:
__init__.py
under any circumstances__init__.py
on Python 3.3+It seems to me that the installer shouldn't be adding files to an installed package in any case. Is there a reason it does this?
The text was updated successfully, but these errors were encountered: