-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
45 lines (42 loc) · 1.12 KB
/
Copy pathsetup.py
File metadata and controls
45 lines (42 loc) · 1.12 KB
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
import setuptools
with open("README.md", "r") as f:
long_description = f.read()
extras_requirements = {
"test": [
"pytest",
"coverage",
],
"nn": [
"numpy",
"onnxruntime",
],
}
setuptools.setup(
name="khmercut",
version="0.2.0",
description="A (fast) Khmer word segmentation toolkit.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/seanghay/khmercut",
author="Seanghay Yath",
author_email="seanghay.dev@gmail.com",
license="Apache License 2.0",
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Natural Language :: English",
],
python_requires=">3.5",
packages=setuptools.find_packages(),
package_dir={"khmercut": "khmercut"},
package_data={
"khmercut": [
"crf_ner_10000.crfsuite",
"nn_model/*",
]
},
include_package_data=True,
install_requires=["python-crfsuite"],
extras_require=extras_requirements,
)