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 4444# Extract name and e-mail ("Firstname Lastname <mail@example.org>")
4545AUTHOR , EMAIL = re .match (r'(.*) <(.*)>' , AUTHOR_EMAIL ).groups ()
4646
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+
4755CLASSIFIERS = [
4856 'Development Status :: 5 - Production/Stable' ,
4957 'Environment :: Console' ,
6876setup (name = PACKAGE ,
6977 version = VERSION ,
7078 description = DESCRIPTION ,
79+ long_description = read_md ('README.md' ),
7180 author = AUTHOR ,
7281 author_email = EMAIL ,
7382 license = LICENSE ,
You can’t perform that action at this time.
0 commit comments