We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19c5877 commit 5071af0Copy full SHA for 5071af0
setup.py
@@ -2,15 +2,6 @@
2
import versioneer
3
4
5
-def read_md(filename):
6
- try:
7
- from pypandoc import convert
8
- return convert(filename, 'rst')
9
- except ImportError:
10
- print("warning: pypandoc module not found, could not convert Markdown to RST")
11
- return open(filename, 'r').read()
12
-
13
14
setup(
15
name='mkp',
16
version=versioneer.get_version(),
@@ -20,7 +11,8 @@ def read_md(filename):
20
install_requires=[],
21
author_email='[email protected]',
22
description='Pack and unpack Check_MK mkp files',
23
- long_description=read_md('README.md'),
+ long_description=open('README.md', 'r').read(),
+ long_description_content_type='text/markdown',
24
packages=find_packages(),
25
17
platforms='any',
26
18
classifiers=[
0 commit comments