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

Use setuptools instead of distutils to upload metadata to PyPI #49

Merged
merged 2 commits into from
Nov 2, 2018

Conversation

hugovk
Copy link
Contributor

@hugovk hugovk commented Aug 19, 2018

I noticed that on PyPI the full description and classifiers aren't shown:

https://pypi.org/project/texttable/

I think this is because the older distutils is being used for upload to PyPI rather than the newer setuptools. See https://stackoverflow.com/a/25372045/724176.

Here's a test upload to Test PyPI using setuptools that shows the full description and all the classifiers:

https://test.pypi.org/project/texttable/

And here's how I usually upload to PyPI (you might not need all of this):

pip install -U pip setuptools wheel twine keyring
python setup.py sdist --format=gztar bdist_wheel
twine upload -r test dist/texttable-1.4.0*

@foutaise foutaise merged commit ec4daa7 into foutaise:master Nov 2, 2018
@foutaise
Copy link
Owner

foutaise commented Nov 2, 2018

Thanks for your PR, a new release will follow.

@hugovk hugovk deleted the setuptools branch November 2, 2018 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants