We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2497b47 commit c2e0cfaCopy full SHA for c2e0cfa
2 files changed
requirements-dev.txt
@@ -1 +1,2 @@
1
wheel
2
+pandoc==1.0.0-alpha.3
setup.py
@@ -44,6 +44,14 @@
44
# Extract name and e-mail ("Firstname Lastname <mail@example.org>")
45
AUTHOR, EMAIL = re.match(r'(.*) <(.*)>', AUTHOR_EMAIL).groups()
46
47
+try:
48
+ from pypandoc import convert
49
+ read_md = lambda f: convert(f, 'rst')
50
+except ImportError:
51
+ print('warning: pypandoc module not found, could not convert '
52
+ 'Markdown to RST')
53
+ read_md = lambda f: open(f, 'r').read()
54
+
55
CLASSIFIERS = [
56
'Development Status :: 5 - Production/Stable',
57
'Environment :: Console',
@@ -68,6 +76,7 @@
68
76
setup(name=PACKAGE,
69
77
version=VERSION,
70
78
description=DESCRIPTION,
79
+ long_description=read_md('README.md'),
71
80
author=AUTHOR,
72
81
author_email=EMAIL,
73
82
license=LICENSE,
0 commit comments