Specify that the long description is rST in the package metadata. (#9180)

This avoids a warning when uploading packages to PyPI via twine.
This commit is contained in:
Patrick Cloke 2021-01-20 16:00:59 -05:00 committed by GitHub
parent 818bf313bc
commit 1fa15b74e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

1
changelog.d/9180.misc Normal file
View file

@ -0,0 +1 @@
Add a `long_description_type` to the package metadata.

View file

@ -121,6 +121,7 @@ setup(
include_package_data=True,
zip_safe=False,
long_description=long_description,
long_description_content_type="text/x-rst",
python_requires="~=3.5",
classifiers=[
"Development Status :: 5 - Production/Stable",