diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-01-20 16:00:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-20 16:00:59 -0500 |
commit | 1fa15b74e0af756535abf107264fb32eea0c0568 (patch) | |
tree | cc51ccf667c908ad84a5940f0a2a9f7c052d7ce4 | |
parent | Merge branch 'release-v1.26.0' into develop (diff) | |
download | synapse-1fa15b74e0af756535abf107264fb32eea0c0568.tar.xz |
Specify that the long description is rST in the package metadata. (#9180)
This avoids a warning when uploading packages to PyPI via twine.
Diffstat (limited to '')
-rw-r--r-- | changelog.d/9180.misc | 1 | ||||
-rwxr-xr-x | setup.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/9180.misc b/changelog.d/9180.misc new file mode 100644 index 0000000000..69dd86110d --- /dev/null +++ b/changelog.d/9180.misc @@ -0,0 +1 @@ +Add a `long_description_type` to the package metadata. diff --git a/setup.py b/setup.py index 9730afb41b..ddbe9f511a 100755 --- a/setup.py +++ b/setup.py @@ -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", |