@@ -28,17 +28,21 @@ def get_description():
28
28
description , = re .findall (pattern , init_py , re .DOTALL )
29
29
return description
30
30
31
+ this_directory = os .path .abspath (os .path .dirname (__file__ ))
32
+ with open (os .path .join (this_directory , 'README.md' ), encoding = 'utf-8' ) as f :
33
+ long_description = f .read ()
31
34
32
- def get_readme ():
33
- return get_file (os .path .dirname (__file__ ), 'README.rst' )
35
+ # def get_readme():
36
+ # return get_file(os.path.dirname(__file__), 'README.rst')
34
37
35
38
36
39
def install ():
37
40
setup (
38
41
name = 'pygoogletranslation' ,
39
42
version = get_version (),
40
43
description = get_description (),
41
- long_description = get_readme (),
44
+ long_description = long_description ,
45
+ long_description_content_type = 'text/markdown' ,
42
46
license = 'MIT' ,
43
47
author = 'Saravanan N, Jenifer Singh Y S' ,
44
48
author_email = 'saravananslb2015@gmail.com' ,
@@ -57,6 +61,10 @@ def install():
57
61
keywords = 'google translate translator' ,
58
62
install_requires = [
59
63
'requests' ,
64
+ 'unidecode' ,
65
+ 'nltk' ,
66
+ 'docx2txt' ,
67
+ 'PyPDF2' ,
60
68
],
61
69
python_requires = '>=3.6' ,
62
70
tests_require = [
0 commit comments