-
Notifications
You must be signed in to change notification settings - Fork 65
/
setup.py
66 lines (61 loc) · 2.11 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""quantulum3 setup file."""
import sys
import quantulum3
try:
from setuptools import find_packages, setup
except ImportError:
print("Please install or upgrade setuptools or pip to continue")
sys.exit(1)
with open("requirements_classifier.txt") as f:
classifier_reqs = f.read().splitlines()
setup(
name="quantulum3",
packages=find_packages(),
package_data={"": ["*.json", "*.joblib"]},
extras_require={"classifier": classifier_reqs},
description="Extract quantities from unstructured text.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
download_url="https://github.com/nielstron/quantulum3/tarball/master",
version=quantulum3.__version__,
url=quantulum3.__url__,
author=quantulum3.__author__,
author_email=quantulum3.__author_email__,
license=quantulum3.__license__,
test_suite="quantulum3.tests",
keywords=[
"information extraction",
"quantities",
"units",
"measurements",
"nlp",
"natural language processing",
"text mining",
"text processing",
],
install_requires=["inflect", "num2words"],
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Development Status :: 3 - Alpha",
"Natural Language :: English",
"Topic :: Text Processing :: Linguistic",
"Topic :: Scientific/Engineering",
],
entry_points={
"console_scripts": [
"quantulum3-training = quantulum3.scripts.train:main",
]
},
)