-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (42 loc) · 1.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
from pathlib import Path
from setuptools import setup
from astred import __version__
extras = {"stanza": ["stanza"],
"spacy": ["spacy>=3.0"]}
extras["parsers"] = extras["stanza"] + extras["spacy"]
extras["all"] = extras["stanza"] + extras["spacy"]
extras["dev"] = extras["all"] + ["isort>=5.5.4", "black", "flake8", "pytest", "pytest_cases", "pygments"]
setup(
name="astred",
version=__version__,
description="A collection of syntactic metrics to calculate (dis)similarities between source and target sentences.",
long_description=Path("README.rst").read_text(encoding="utf-8"),
long_description_content_type="text/x-rst",
keywords="nlp tree-edit-distance ted syntax compling computational-linguistics syntactic-distance translation",
packages=["astred"],
url="https://github.com/BramVanroy/astred",
author="Bram Vanroy",
author_email="[email protected]",
license="Apache 2.0",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Text Processing",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Operating System :: OS Independent"
],
project_urls={
"Issue tracker": "https://github.com/BramVanroy/astred/issues",
"Source": "https://github.com/BramVanroy/astred"
},
python_requires=">=3.7",
install_requires=[
"apted",
"nltk"
],
extras_require=extras
)