-
Notifications
You must be signed in to change notification settings - Fork 60
/
setup.py
61 lines (55 loc) · 2.11 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
from os import path
from setuptools import setup
with open(path.join(path.abspath(path.dirname(__file__)), "README.md"), encoding="utf-8") as f:
readme_description = f.read()
def read_requirements(filename):
with open(filename, "r", encoding="utf-8") as fp:
return fp.read().strip().splitlines()
setup(
name="translatepy",
packages=["translatepy"],
version="2.4",
license="GNU General Public License v3 (GPLv3)",
description="Translate, transliterate, get the language of texts in no time with the help of multiple APIs!",
author="Anime no Sekai",
author_email="[email protected]",
url="https://github.com/Animenosekai/translate",
download_url="https://github.com/Animenosekai/translate/archive/v2.4.tar.gz",
keywords=[
"python",
"translate",
"translation",
"google-translate",
"yandex-translate",
"bing-translate",
"reverso",
"transliteration",
"detect-language",
"text-to-speech",
"deepl",
"language",
],
install_requires=read_requirements("requirements.txt"),
extras_require={"server": read_requirements("requirements-server.txt"), "dev": read_requirements("requirements-dev.txt")},
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
long_description=readme_description,
long_description_content_type="text/markdown",
include_package_data=True,
python_requires=">=3.2, <4",
entry_points={"console_scripts": ["translatepy = translatepy.__main__:main"]},
package_data={
"translatepy": ["LICENSE"],
},
)