From: Ben Darnell Date: Fri, 10 Jun 2022 18:14:23 +0000 (-0400) Subject: setup: Set readme content-type explicitly X-Git-Tag: v6.2.0b1~1^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d3e0e44a2b4cac49b1957470274a3bb1f871274;p=thirdparty%2Ftornado.git setup: Set readme content-type explicitly Silences a warning when uploading to pypi. --- diff --git a/setup.py b/setup.py index bb4f82305..404090fcf 100644 --- a/setup.py +++ b/setup.py @@ -120,6 +120,7 @@ with open("tornado/__init__.py") as f: with open("README.rst") as f: kwargs["long_description"] = f.read() + kwargs["long_description_content_type"] = "text/x-rst" if ( platform.python_implementation() == "CPython"