-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable nspkg.pth magic when PEP-420 is available #805
Comments
Turns out the implementation is pretty straightforward. In the 'issue-805' branch, I've committed probably the minimal changes to support this functionality. I've tagged and released these changes as 28.1.0b1, a wheel that I've hosted here. I've confirmed the technique works. I'm going to run with this version of setuptools for a while and see if I encounter any issues. I invite others to try it out as well. Just:
|
Merging with v28.1.0, I've cut a new wheel of 28.2.0b1:
|
In pypa/pip#1924, we find that setuptools is generating the
-nspkg.pth
files that are bootstrapping the namespace packages, but these files are unnecessary when PEP-420 is present (Python 3.3+) and in fact interfere with pure PEP-420 namespace packages.It seems the solution may be simple - bypass this behavior when PEP-420 is detected.
The text was updated successfully, but these errors were encountered: