You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As articulated in pypa/setuptools#4981, there are some outstanding problems with the setuptools-based license injection.
Injecting the license as a file leaves the file on the file system for the user to wonder why it's there. At the very least, this file should be omitted for local builds. Better would be to have a cleaner way to inject the license during sdist generation.
The license injection, including the network access, runs when building sdist to wheel, which is redundant and unnecessary. It's a larger problem for setuptools (there are many things that should probably be separated between sdist and wheel builds, but that's a separate issue). At the very least, the license retrieval should happen once for any source tree.
As articulated in pypa/setuptools#4981, there are some outstanding problems with the setuptools-based license injection.