-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
executable file
·68 lines (67 loc) · 2.61 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
#!/usr/bin/env python
# encoding: utf-8
"""Packaging script for the gatenlp library."""
import sys
import os
from setuptools import setup, find_packages
from setup_defs import version, readme, get_install_extras_require, JARFILE_DEST
setup(
name="gatenlp",
version=version,
author="Johann Petrak",
author_email="[email protected]",
url="https://github.com/GateNLP/python-gatenlp",
keywords=["nlp", "text processing", "natural language processing"],
description="GATE NLP implementation in Python.",
long_description=readme,
long_description_content_type="text/markdown",
setup_requires=[
# deliberately not used, since it installs packages without pip, use the "dev" extras instead
],
install_requires=get_install_extras_require()["base"],
extras_require=get_install_extras_require(),
python_requires=">=3.8",
tests_require=["pytest", "pytest-cov"],
platforms="any",
license="Apache License 2.0",
packages=find_packages(),
package_data={
"gatenlp": [
JARFILE_DEST,
os.path.join("serialization", "_htmlviewer", "gatenlp-ann-viewer.html"),
os.path.join(
"serialization", "_htmlviewer", "gatenlp-ann-viewer-merged.js"
),
os.path.join("processing", "emojis", "emoji2info.json"),
os.path.join("processing", "emojis", "emojiregex.txt"),
]
},
# include_package_data=True,
# data_files=[("share/gatenlp", [JARFILE_PATH])],
test_suite="tests",
entry_points={"console_scripts": [
"gatenlp-gate-worker=gatenlp.gateworker:run_gate_worker",
"gatenlp-dir2dir=gatenlp.processing.runners.runner_dir2dir:run_dir2dir",
"gate_interaction=gatenlp.gate_interaction:main",
]},
classifiers=[
# "Development Status :: 6 - Mature",
# "Development Status :: 5 - Production/Stable",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries",
],
project_urls={
"Documentation": "https://gatenlp.readthedocs.io",
"Source": "https://github.com/GateNLP/python-gatenlp",
},
)