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, include_package_data=True,
zip_safe=False, zip_safe=False,
long_description=long_description, long_description=long_description,
long_description_content_type="text/x-rst",
python_requires="~=3.5", python_requires="~=3.5",
classifiers=[ classifiers=[
"Development Status :: 5 - Production/Stable", "Development Status :: 5 - Production/Stable",