-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
46 lines (43 loc) · 1.35 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
from setuptools import setup, find_packages
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md')) as f:
long_description = f.read()
setup(
name='starcc',
version='0.0.5',
description='Python implementation of StarCC',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/StarCC0/starcc-py',
author='StarCC',
author_email='starcc@mail.shn.hk',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing :: Linguistic',
'Natural Language :: Chinese (Simplified)',
'Natural Language :: Chinese (Traditional)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
keywords='chinese nlp natural-language-processing',
packages=find_packages('src'),
package_dir={'': 'src'},
package_data={
'StarCC': ['dict/*'],
},
include_package_data=True,
python_requires='>=3.7, <4',
install_requires=['jieba', 'pygtrie'],
entry_points={},
project_urls={
'Bug Reports': 'https://github.com/StarCC0/StarCC/issues',
'Source': 'https://github.com/StarCC0/StarCC',
},
zip_safe=False
)