Skip to content

Commit 34c9769

Browse files
committed
Drop setuptools-markdown
Stop using setuptools-markdown which is no longer maintained and doesn't work anymore. Instead use the long_description_content_type variable (see [0]) to indicate that the given long_description is in markdown format. This fixes: AttributeError: module 'pypandoc' has no attribute 'convert' [0] https://dustingram.com/articles/2018/03/16/markdown-descriptions-on-pypi/ Fixes #112
1 parent 5dd7f4c commit 34c9769

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ def setup_package():
1919
setup_requires=[
2020
'six',
2121
'pyscaffold>=2.5.10,<2.6a0',
22-
'setuptools-markdown',
2322
] + sphinx,
24-
long_description_markdown_filename='README.md',
23+
long_description='README.md',
24+
long_description_content_type="text/markdown",
2525
use_pyscaffold=True
2626
)
2727

0 commit comments

Comments
 (0)