forked from CanCLID/ToJyutping
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
55 lines (50 loc) · 1.84 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
from setuptools import setup, find_packages
from os import path
here = path.abspath(path.dirname(__file__))
if not path.exists(path.join(here, 'src/ToJyutping/jyut6ping3.simple.dict.yaml')):
raise Exception('Please run preprocess.py first.')
with open(path.join(here, 'README.md')) as f:
long_description = f.read()
with open(path.join(here, 'src/ToJyutping/version.py')) as f:
exec(f.read())
setup(
name='ToJyutping',
version=__version__,
description='粵語拼音自動標註工具 Cantonese Pronunciation Automatic Labeling Tool',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/CanCLID/ToJyutping',
author='Cantonese Computational Linguistics Infrastructure Development Workgroup',
author_email='[email protected]',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing :: Linguistic',
'Natural Language :: Cantonese',
'Natural Language :: Chinese (Simplified)',
'Natural Language :: Chinese (Traditional)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
keywords='chinese cantonese nlp natural-language-processing',
packages=find_packages('src'),
package_dir={'': 'src'},
package_data={
'ToJyutping': ['jyut6ping3.simple.dict.yaml'],
},
include_package_data=True,
python_requires='>=3.5, <4',
install_requires=['pygtrie'],
entry_points={},
project_urls={
'Bug Reports': 'https://github.com/CanCLID/ToJyutping/issues',
'Source': 'https://github.com/CanCLID/ToJyutping',
},
zip_safe=False
)