File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 11wheel
2- pypandoc == 1.4
2+ twine >= 1.11.0
3+ setuptools >= 38.6.0
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 ()
29+
30+ with open ('README.md' ) as readme :
31+ long_description = readme .read ()
32+
3633
3734CLASSIFIERS = [
3835 'Development Status :: 5 - Production/Stable' ,
5653setup (name = PACKAGE ,
5754 version = VERSION ,
5855 description = DESCRIPTION ,
59- long_description = read_md ('README.md' ),
56+ long_description = long_description ,
57+ long_description_content_type = "text/markdown" ,
6058 author = AUTHOR ,
6159 author_email = EMAIL ,
6260 license = LICENSE ,
You can’t perform that action at this time.
0 commit comments