-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
80 lines (73 loc) · 2.45 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# -*- coding: utf-8 -*-
"""
Copyright 2020 - 2024 Wannaphong Phatthiyaphaibun
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from setuptools import find_packages, setup
with open("README.md", "r", encoding="utf-8-sig") as f:
readme = f.read()
with open("requirements.txt", "r", encoding="utf-8-sig") as f:
requirements = [i.strip() for i in f.readlines()]
extras = {
"word_vector": ["scipy<1.11.0", "gensim", "huggingface-hub"],
"full": [
"scipy<1.11.0",
"gensim",
"huggingface-hub"
]
}
setup(
name="LaoNLP",
version="1.2.0",
description="Lao Natural Language Processing library",
long_description=readme,
long_description_content_type="text/markdown",
author="Wannaphong",
author_email="[email protected]",
url="https://github.com/wannaphong/laonlp",
packages=find_packages(exclude=["tests"]),
test_suite="tests",
python_requires=">=3.6",
package_data={
"laonlp": [
"corpus/*",
]
},
install_requires=requirements,
extras_require=extras,
license="Apache Software License 2.0",
zip_safe=False,
keywords=[
"lao",
"NLP",
"natural language processing",
"text analytics",
"text processing",
"localization",
"computational linguistics",
"Lao language",
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Text Processing",
"Topic :: Text Processing :: General",
"Topic :: Text Processing :: Linguistic",
],
project_urls={
"Documentation": "https://github.com/wannaphong/LaoNLP/wiki",
"Source": "https://github.com/wannaphong/LaoNLP",
"Bug Reports": "https://github.com/wannaphong/LaoNLP/issues",
},
)