Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Disable nspkg.pth magic when PEP-420 is available #805
In pypa/pip#1924, we find that setuptools is generating the
It seems the solution may be simple - bypass this behavior when PEP-420 is detected.
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: