forked from relwell/stanford-corenlp-python
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
49 lines (46 loc) · 1.35 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
import os
from distutils.core import setup
PACKAGE = "corenlp"
NAME = "corenlp-python"
DESCRIPTION = "A Stanford Core NLP wrapper"
AUTHOR = "Hiroyoshi Komatsu"
AUTHOR_EMAIL = "[email protected]"
URL = "https://bitbucket.org/torotoki/corenlp-python"
VERSION = "3.2.0-1"
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=read("README.md"),
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=URL,
include_package_data=True,
packages=['corenlp'],
package_dir = {'corenlp': 'corenlp'},
package_data = {
"corenlp": ["default.properties"]
},
install_requires=[
"pexpect >= 2.4",
"unidecode >= 0.04.12",
"xmltodict >= 0.4.6",
],
# data_files = [
# ('corenlp', ["default.properties"]),
# ],
# package_data=find_package_data(
# PACKAGE,
# only_in_packages=False
# )
classifiers=[
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
"Programming Language :: Python",
],
)