/
setup.py
54 lines (44 loc) · 1.2 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
# -*- coding:utf-8 -*-
try:
from setuptools import setup, find_packages
except:
from distutils.core import setup
VERSION = '1.2.4'
AUTHOR = "cn"
AUTHOR_EMAIL = "cnaafhvk@foxmail.com"
URL = "https://github.com/ShichaoMa/translate_html"
NAME = "translate-html"
DESCRIPTION = "translate html to chinese without tag. "
try:
LONG_DESCRIPTION = open("README.rst").read()
except UnicodeDecodeError:
LONG_DESCRIPTION = open("README.rst", encoding="utf-8").read()
KEYWORDS = "translate html chinese tag"
LICENSE = "MIT"
MODULES = ["translate"]
setup(
name = NAME,
version = VERSION,
description = DESCRIPTION,
long_description = LONG_DESCRIPTION,
classifiers = [
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
],
entry_points={
'console_scripts': [
'translate = translate:main',
],
},
keywords = KEYWORDS,
author = AUTHOR,
author_email = AUTHOR_EMAIL,
url = URL,
license = LICENSE,
py_modules = MODULES,
install_requires=["toolkity>=1.4.7"],
include_package_data=True,
zip_safe=True,
)