From 21dbf00a7f701dbbcebe9f2f12b7333813c0c72f Mon Sep 17 00:00:00 2001 From: Marius Gedminas Date: Tue, 12 Jun 2018 14:08:34 +0300 Subject: [PATCH] Add long_description_content_type to setup.py The new PyPI code discards long_description when it's not valid ReStructuredText. Luckily it also supports Markdown, but you have to [specify the content type](https://packaging.python.org/tutorials/packaging-projects/#creating-setup-py) explicitly in that case. (IIRC for this to work correctly you also have to use sufficiently recent versions of setuptools and twine to upload releases.) Should fix #303. --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 21350c7..67d2e99 100644 --- a/setup.py +++ b/setup.py @@ -18,6 +18,7 @@ setup(name="magic-wormhole", version=versioneer.get_version(), description="Securely transfer data between computers", long_description=open('README.md', 'rU').read(), + long_description_content_type='text/markdown', author="Brian Warner", author_email="warner-magic-wormhole@lothar.com", license="MIT",