File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -48,14 +48,8 @@ def read_injector_variable(name):
4848requirements_dev = list (obtain_requirements ('requirements-dev.txt' ))
4949
5050
51- try :
52- import pypandoc
53-
54- long_description = pypandoc .convert_file ('README.md' , 'rst' )
55- except ImportError :
56- warnings .warn ('Could not locate pandoc, using Markdown long_description.' , ImportWarning )
57- with open ('README.md' ) as f :
58- long_description = f .read ()
51+ with open ('README.md' ) as f :
52+ long_description = f .read ()
5953
6054description = long_description .splitlines ()[0 ].strip ()
6155
@@ -68,6 +62,7 @@ def read_injector_variable(name):
6862 options = dict (egg_info = dict (tag_build = version_tag )),
6963 description = description ,
7064 long_description = long_description ,
65+ long_description_content_type = 'text/markdown' ,
7166 license = 'BSD' ,
7267 platforms = ['any' ],
7368 packages = ['injector' ],
You can’t perform that action at this time.
0 commit comments