-
Notifications
You must be signed in to change notification settings - Fork 107
/
setup.py
47 lines (44 loc) · 1.91 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
from pathlib import Path
from setuptools import setup, find_packages
# Get base working directory.
base_dir = Path(__file__).resolve().parent
# Readme text for long description
with open(base_dir/"README.md") as f:
readme = f.read()
setup(
name = "errant",
version = "3.0.0",
license = "MIT",
description = "The ERRor ANnotation Toolkit (ERRANT). Automatically extract and classify edits in parallel sentences.",
long_description = readme,
long_description_content_type = "text/markdown",
author = "Christopher Bryant, Mariano Felice",
author_email = "christopher.bryant@cl.cam.ac.uk",
url = "https://github.com/chrisjbryant/errant",
keywords = ["automatic annotation", "grammatical errors", "natural language processing"],
python_requires = ">= 3.7",
install_requires = ["spacy>=3.2.0,<4", "rapidfuzz>=3.4.0"],
packages = find_packages(),
include_package_data=True,
entry_points = {
"console_scripts": [
"errant_compare = errant.commands.compare_m2:main",
"errant_m2 = errant.commands.m2_to_m2:main",
"errant_parallel = errant.commands.parallel_to_m2:main"]},
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
"Topic :: Education",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Text Processing :: Linguistic"]
)