We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88a966b commit 7c4a5fcCopy full SHA for 7c4a5fc
2 files changed
requirements-dev.txt
@@ -1 +1,2 @@
1
wheel
2
+pandoc==1.0.0-alpha.3
setup.py
@@ -26,6 +26,14 @@
26
# Extract name and e-mail ("Firstname Lastname <mail@example.org>")
27
AUTHOR, EMAIL = re.match(r'(.*) <(.*)>', AUTHOR_EMAIL).groups()
28
29
+try:
30
+ from pypandoc import convert
31
+ read_md = lambda f: convert(f, 'rst')
32
+except ImportError:
33
+ print('warning: pypandoc module not found, could not convert '
34
+ 'Markdown to RST')
35
+ read_md = lambda f: open(f, 'r').read()
36
+
37
CLASSIFIERS = [
38
'Development Status :: 5 - Production/Stable',
39
'Environment :: Console',
@@ -49,6 +57,7 @@
49
57
setup(name=PACKAGE,
50
58
version=VERSION,
51
59
description=DESCRIPTION,
60
+ long_description=read_md('README.md'),
52
61
author=AUTHOR,
53
62
author_email=EMAIL,
54
63
license=LICENSE,
0 commit comments