Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 1fa15b7

Browse files
authored
Specify that the long description is rST in the package metadata. (#9180)
This avoids a warning when uploading packages to PyPI via twine.
1 parent 818bf31 commit 1fa15b7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

changelog.d/9180.misc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add a `long_description_type` to the package metadata.

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ def exec_file(path_segments):
121121
include_package_data=True,
122122
zip_safe=False,
123123
long_description=long_description,
124+
long_description_content_type="text/x-rst",
124125
python_requires="~=3.5",
125126
classifiers=[
126127
"Development Status :: 5 - Production/Stable",

0 commit comments

Comments
 (0)