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 2020except ImportError :
2121 from distutils .core import setup
2222
23- try :
24- from pypandoc import convert_file
25- except ImportError as e :
26- def convert_file (f , _ ):
27- return open (f , 'r' ).read ()
28- except ModuleNotFoundError as e :
29- def convert_file (f , _ ):
30- return open (f , 'r' ).read ()
31-
3223from pydgraph .meta import VERSION
3324
3425README = os .path .join (os .path .dirname (__file__ ), 'README.md' )
@@ -37,7 +28,8 @@ def convert_file(f, _):
3728 name = 'pydgraph' ,
3829 version = VERSION ,
3930 description = 'Official Dgraph client implementation for Python' ,
40- long_description = convert_file (README , 'rst' ),
31+ long_description = open (README , 'r' ).read (),
32+ long_description_content_type = 'text/markdown' ,
4133 license = 'Apache License, Version 2.0' ,
4234 author = 'Dgraph Labs' ,
4335
You can’t perform that action at this time.
0 commit comments