mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-05 18:49:23 +01:00
plugin setup: declare the long_description is in markdown
Else PyPI rejects it because it can't parse it as ReST.
This commit is contained in:
parent
16b7fd9f37
commit
4213d95356
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user