File tree 1 file changed +4
-9
lines changed
1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 12
12
def readme ():
13
13
"""Try converting the README to an RST document. Return it as is on failure."""
14
14
try :
15
- import pypandoc
16
- readme_content = pypandoc .convert ('README.md' , 'rst' )
17
- except (IOError , ImportError ):
18
- print ("Warning: no pypandoc module found." )
19
- try :
20
- readme_content = open ('README.md' ).read ()
21
- except IOError :
22
- readme_content = ''
23
- return readme_content
15
+ return open ('README.md' ).read ()
16
+ except IOError :
17
+ return ''
24
18
25
19
26
20
setuptools .setup (
@@ -29,6 +23,7 @@ def readme():
29
23
py_modules = ['cryptonator' ],
30
24
description = 'A simple wrapper for the cryptonator exchange rate API.' ,
31
25
long_description = readme (),
26
+ long_description_content_type = 'text/markdown' ,
32
27
url = 'https://github.com/aldur/cryptonator' ,
33
28
34
29
author = 'Adriano Di Luzio' ,
You can’t perform that action at this time.
0 commit comments