File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change 1+ import sys
12from setuptools import setup , find_packages
3+ import pdb
24
35PACKAGE = "corenlp"
46NAME = "stanford-corenlp-python"
79AUTHOR_EMAIL = "[email protected] " 810URL = "https://github.com/Wordseer/stanford-corenlp-python"
911VERSION = "3.3.7-0"
12+ INSTALLATION_REQS = ["unidecode >= 0.04.12" , "xmltodict >= 0.4.6" ]
13+
14+ PEXPECT = "pexpect >= 2.4"
15+ WINPEXPECT = "winpexpect >= 1.5"
16+
17+ pdb .set_trace ()
18+
19+ if "win" in sys .platform :
20+ INSTALLATION_REQS .append (WINPEXPECT )
21+ else :
22+ INSTALLATION_REQS .append (PEXPECT )
1023
1124setup (
1225 name = NAME ,
1831 packages = find_packages (),
1932 package_data = {"" : ["*.properties" ],
2033 "corenlp" : ["*.properties" ]},
21- install_requires = [
22- "pexpect >= 2.4" ,
23- "unidecode >= 0.04.12" ,
24- "xmltodict >= 0.4.6" ,
25- ],
34+ install_requires = INSTALLATION_REQS ,
2635 classifiers = [
2736 ("License :: OSI Approved :: GNU General Public License v2 or later "
2837 "(GPLv2+)" ),
You can’t perform that action at this time.
0 commit comments