forked from silverasm/stanford-corenlp-python
-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathsetup.py
38 lines (33 loc) · 1.07 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
import sys
from setuptools import setup, find_packages
PACKAGE = "corenlp"
NAME = "stanford-corenlp-python"
DESCRIPTION = "A Stanford Core NLP wrapper (wordseer fork)"
AUTHOR = "Hiroyoshi Komatsu, Dustin Smith, Aditi Muralidharan, Ian MacFarland"
AUTHOR_EMAIL = "[email protected]"
URL = "https://github.com/Wordseer/stanford-corenlp-python"
VERSION = "3.3.10"
INSTALLATION_REQS = ["unidecode >= 0.04.12", "xmltodict >= 0.4.6"]
PEXPECT = "pexpect >= 2.4"
WINPEXPECT = "winpexpect >= 1.5"
if "win32" in sys.platform or "cygwin" in sys.platform:
INSTALLATION_REQS.append(WINPEXPECT)
else:
INSTALLATION_REQS.append(PEXPECT)
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=URL,
packages=find_packages(),
package_data = {"": ["*.properties"],
"corenlp": ["*.properties"]},
install_requires=INSTALLATION_REQS,
classifiers=[
("License :: OSI Approved :: GNU General Public License v2 or later "
"(GPLv2+)"),
"Programming Language :: Python",
],
)