Include most recent upload metadata when uploading to PyPI
See original GitHub issueIt seems that for the upload
command, we’re delegating entirely to distutils
, which has metadata_version
hard-coded as “1.0”, and only uploads the 1.0 metadata. I think this is one reason that Requires-Python data isn’t showing up on PyPI.
Although setup.py upload
is basically deprecated, I think we should probably still make these improvements, even if as part of this we also add DeprecationWarning
telling people to start using twine
.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Building and Uploading to PyPi - The Sheer Joy of Packaging!
Make sure artifacts have been generated in the dist subdirectory. Exercise 3: Publish artifacts on PyPI¶. $ twine upload --repository-url https://test.pypi ...
Read more >Why isn't setup.py metadata being used on PyPI?
The sdist command is one of a few build commands that will build a source distribution. You are likely familiar with it already...
Read more >Uploading to PyPI - Daniel Michaels
4. Upload! ... Using the -r flag allows you to set which server to send the file too. This file name is setup...
Read more >6. The Python Package Index (PyPI) — Python 3.6.15 ...
PyPI lets you submit any number of versions of your distribution to the index. If you alter the meta-data for a particular version,...
Read more >How to Create and Upload Your First Python Package to PyPI
A Python package is a directory that contains a bunch of modules with a ... So, we need to add the following metadata...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think we should keep this open until the upload/register commands are completely removed.
looking at this