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 20
20
except ImportError :
21
21
from distutils .core import setup
22
22
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
-
32
23
from pydgraph .meta import VERSION
33
24
34
25
README = os .path .join (os .path .dirname (__file__ ), 'README.md' )
@@ -37,7 +28,8 @@ def convert_file(f, _):
37
28
name = 'pydgraph' ,
38
29
version = VERSION ,
39
30
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' ,
41
33
license = 'Apache License, Version 2.0' ,
42
34
author = 'Dgraph Labs' ,
43
35
You can’t perform that action at this time.
0 commit comments