File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed
Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change 77from setuptools import setup , find_packages , Extension
88from setuptools .command .build_ext import build_ext
99
10- try :
11- import pypandoc
12- long_description = pypandoc .convert ('README.md' , 'rst' )
13- except (IOError , ImportError ):
14- if sys .version_info [0 ] == 3 :
15- long_description = open ('README.md' , encoding = 'utf-8' ).read ()
16- else :
17- long_description = open ('README.md' ).read ()
18-
19-
2010def list_cpp_files (package_dir = 'wikipedia2vec' ):
2111 if sys .platform .startswith ("win" ):
2212 compile_args = []
@@ -61,9 +51,10 @@ def finalize_options(self):
6151
6252setup (
6353 name = 'wikipedia2vec' ,
64- version = '1.0.0 ' ,
54+ version = '1.0.1 ' ,
6555 description = 'A tool for learning vector representations of words and entities from Wikipedia' ,
66- long_description = long_description ,
56+ long_description = open ('README.md' ).read (),
57+ long_description_content_type = 'text/markdown' ,
6758 author = 'Studio Ousia' ,
6859 author_email = 'ikuya@ousia.jp' ,
6960 url = 'http://wikipedia2vec.github.io/' ,
You can’t perform that action at this time.
0 commit comments