File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 11wheel
2+ pandoc == 1.0.0-alpha.3
Original file line number Diff line number Diff line change 2626# Extract name and e-mail ("Firstname Lastname <mail@example.org>")
2727AUTHOR , EMAIL = re .match (r'(.*) <(.*)>' , AUTHOR_EMAIL ).groups ()
2828
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+
2937CLASSIFIERS = [
3038 'Development Status :: 5 - Production/Stable' ,
3139 'Environment :: Console' ,
4957setup (name = PACKAGE ,
5058 version = VERSION ,
5159 description = DESCRIPTION ,
60+ long_description = read_md ('README.md' ),
5261 author = AUTHOR ,
5362 author_email = EMAIL ,
5463 license = LICENSE ,
You can’t perform that action at this time.
0 commit comments