-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathsetup.py
44 lines (40 loc) · 1.26 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
import setuptools
with open("README.md", "r") as f:
long_description = f.read()
requirements = ["sklearn-crfsuite", "tqdm"]
extras_requirements = {
"test": [
"pytest",
"coverage",
],
}
setuptools.setup(
name="khmer-nltk",
version="1.6",
description="A Khmer language processing toolkit",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/VietHoang1710/khmer-nltk",
author="Phan Viet Hoang",
author_email="phanviethoang1512@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(exclude=["data", "bin", "samples", "scripts"]),
package_dir={"khmernltk": "khmernltk"},
package_data={
"khmernltk": [
"pos_tag/sklearn_crf_pos_alt_0.9846.sav",
"word_tokenize/sklearn_crf_ner_10000.sav",
# 'word_tokenize/sklearn_crf_ner_alt_0.9725.sav'
]
},
include_package_data=True,
install_requires=requirements,
extras_require=extras_requirements,
)