-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
31 lines (27 loc) · 1007 Bytes
/
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
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from setuptools import setup, find_packages
from setuptools.command.install import install as _install
from subprocess import call
class Install(_install):
def run(self):
_install.run(self)
import nltk
nltk.download("punkt")
config = {
'name': 'digRandomIndexingExtractor',
'description': 'digRandomIndexingExtractor',
'author': 'Jason Slepicka',
'url': 'https://github.com/usc-isi-i2/dig-random-indexing-extractor',
'download_url': 'https://github.com/usc-isi-i2/dig-random-indexing-extractor',
'author_email': '[email protected]',
'version': '0.2.0',
# these are the subdirs of the current directory that we care about
'packages': ['digRandomIndexingExtractor'],
'scripts': [],
'install_requires':['scipy>=0.9', 'numpy', 'digExtractor>=0.2.0', 'scikit-learn==0.17','nltk'],
'cmdclass':{'install': Install}
}
setup(**config)