summary refs log tree commit diff
path: root/setup.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-01-20 16:00:59 -0500
committerGitHub <noreply@github.com>2021-01-20 16:00:59 -0500
commit1fa15b74e0af756535abf107264fb32eea0c0568 (patch)
treecc51ccf667c908ad84a5940f0a2a9f7c052d7ce4 /setup.py
parentMerge branch 'release-v1.26.0' into develop (diff)
downloadsynapse-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 'setup.py')
-rwxr-xr-xsetup.py1
1 files changed, 1 insertions, 0 deletions
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",