-
Notifications
You must be signed in to change notification settings - Fork 67
/
setup.py
63 lines (58 loc) · 2.33 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
62
63
from setuptools import setup, find_packages
from codecs import open
from os import path
def readme():
with open('README.md', encoding='utf-8') as f:
return f.read()
setup(
name='opencc-python-reimplemented',
version='0.1.7',
description='OpenCC made with Python',
long_description=readme(),
long_description_content_type='text/markdown',
url='https://github.com/yichen0831/opencc-python',
author='Yichen Huang (Eugene)',
author_email='yichen0831@gmail.com',
license='Apache License',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='chinese conversion',
packages=['opencc'],
install_requires=[],
package_data={
'opencc': [
'README.md',
'LICENSE.txt',
'NOTICE.txt',
'config/hk2s.json', 'config/s2hk.json', 'config/s2t.json',
'config/s2tw.json', 'config/s2twp.json', 'config/t2hk.json',
'config/t2s.json', 'config/t2tw.json', 'config/tw2s.json',
'config/tw2sp.json',
'dictionary/HKVariants.txt',
'dictionary/HKVariantsPhrases.txt',
'dictionary/HKVariantsRev.txt',
'dictionary/HKVariantsRevPhrases.txt',
'dictionary/JPVariants.txt',
'dictionary/STCharacters.txt',
'dictionary/STPhrases.txt',
'dictionary/TSCharacters.txt',
'dictionary/TSPhrases.txt',
'dictionary/TWPhrases.txt',
'dictionary/TWPhrasesRev.txt',
'dictionary/TWVariants.txt',
'dictionary/TWVariantsRev.txt',
'dictionary/TWVariantsRevPhrases.txt',
]
},
)