From 4213d95356d5172d2af6a1df8367f2a02d2a621c Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Wed, 7 Oct 2020 19:46:56 +0200 Subject: [PATCH] plugin setup: declare the long_description is in markdown Else PyPI rejects it because it can't parse it as ReST. --- src/setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/setup.py b/src/setup.py index 125d32621..b1f6708ee 100644 --- a/src/setup.py +++ b/src/setup.py @@ -70,6 +70,7 @@ if setuptools: if os.path.isfile(readme_path): with open(readme_path, 'r') as fd: kwargs['long_description'] = fd.read() + kwargs['long_description_content_type'] = 'text/markdown' module_name = kwargs['name'].replace('-', '_') kwargs.setdefault('packages', [module_name])