File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 22import versioneer
33
44
5- def read_md (filename ):
6- try :
7- from pypandoc import convert
8- return convert (filename , 'rst' )
9- except ImportError :
10- print ("warning: pypandoc module not found, could not convert Markdown to RST" )
11- return open (filename , 'r' ).read ()
12-
13-
145setup (
156 name = 'mkp' ,
167 version = versioneer .get_version (),
@@ -20,7 +11,8 @@ def read_md(filename):
2011 install_requires = [],
2112 author_email = 'tom-mi@users.noreply.github.com' ,
2213 description = 'Pack and unpack Check_MK mkp files' ,
23- long_description = read_md ('README.md' ),
14+ long_description = open ('README.md' , 'r' ).read (),
15+ long_description_content_type = 'text/markdown' ,
2416 packages = find_packages (),
2517 platforms = 'any' ,
2618 classifiers = [
You can’t perform that action at this time.
0 commit comments