forked from tsroten/zhon
/
setup.py
39 lines (35 loc) · 1.24 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
from setuptools import setup
import sys
if sys.version_info < (3, ):
import codecs
enc_open = codecs.open
else:
enc_open = open
with enc_open('README.rst', 'r', encoding='utf-8') as f:
long_description = f.read()
setup(
name='zhon',
version='1.1.3',
author='Thomas Roten',
author_email='thomas@roten.us',
url='https://github.com/tsroten/zhon',
description=('Zhon provides constants used in Chinese text processing.'),
long_description=long_description,
packages=['zhon', 'zhon.cedict'],
keywords=('chinese mandarin segmentation tokenization punctuation hanzi '
'unicode radicals han cjk cedict cc-cedict traditional '
'simplified characters pinyin zhuyin'),
classifiers=[
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing :: Linguistic',
],
platforms='Any',
test_suite='tests',
)