forked from free-utils-python/cjklib3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (46 loc) · 1.68 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
import re
import cjklib
VERSION = str(cjklib.__version__)
(AUTHOR, EMAIL) = re.match('^(.*?)\s*<(.*)>$', cjklib.__author__).groups()
URL = cjklib.__url__
LICENSE = cjklib.__license__
setup(name='cjklib',
version=VERSION,
description='Han character library for CJKV languages',
long_description=open('README.rst', encoding='utf-8').read(),
author=AUTHOR,
author_email=EMAIL,
url=URL,
packages=['cjklib', 'cjklib.reading', 'cjklib.dictionary', 'cjklib.build',
'cjklib.test'],
package_dir={'cjklib': 'cjklib'},
package_data={'cjklib': ['data/*.csv', 'data/*.sql', 'cjklib.db',
'cjklib.conf']},
entry_points={
'console_scripts': [
'buildcjkdb = cjklib.build.cli:main',
'installcjkdict = cjklib.dictionary.install:main',
'cjknife = cjklib.cjknife:main',
],
},
install_requires="SQLAlchemy >= 0.9.4, <2.0",
license=LICENSE,
classifiers=['Topic :: Text Processing :: Linguistic',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Development Status :: 5 - Production/Stable',
'Operating System :: OS Independent',
'Programming Language :: Python',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Natural Language :: Chinese (Simplified)',
'Natural Language :: Chinese (Traditional)',
'Natural Language :: Japanese',
'Natural Language :: Korean',
'Natural Language :: Vietnamese',
])