Skip to content
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

Error uploading package to PyPI #239

Closed
sjfleming opened this issue Aug 8, 2023 · 1 comment
Closed

Error uploading package to PyPI #239

sjfleming opened this issue Aug 8, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@sjfleming
Copy link
Member

It seems that using a setup.py file alone with setuptools to create a distribution is now "too old" and will not work anymore for uploading to PyPI. I ran into this error:

https://stackoverflow.com/questions/76756635/pypi-twine-missing-metadata-but-it-exists-in-whl-file

Update setup.py to an approved setuptools pyproject.toml format:
https://packaging.python.org/en/latest/tutorials/packaging-projects/#creating-pyproject-toml

@sjfleming sjfleming self-assigned this Aug 8, 2023
@sjfleming sjfleming added the bug Something isn't working label Aug 8, 2023
@sjfleming
Copy link
Member Author

sjfleming commented Aug 8, 2023

Following the two-part suggestion here to convert setup.py to pyproject.toml

https://stackoverflow.com/questions/72832052/is-there-a-simple-way-to-convert-setup-py-to-pyproject-toml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

1 participant