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
Fix order of setup.py arguments for upload command #260
If sdist was invoked before bdist_wheel - upload first tries sdist upload
Not sure if it's not a bug for setuptools, but it works in this way for recent setuptools too (checked with 25.1.1).
I'm okay with merging this as the change itself is trivial, however, I'm wondering if it's worthwhile to send a follow-up PR to document why this is necessary.
@jaraco (or anyone else) can you confirm the reason why metadata differs depending on the distribution type? Does it make a difference to
I use sdist then bdist_wheel in all of my projects. I haven't had any complaints about metadata being missing. Moreover, when I look at a release I've made recently (here's the actual build log), it has the Requires-Distributions metadata, so this report seems to be invalid to me. Of course, things may have changed in the interim, but it's not apparent from the OP that there's an actual issue here.