-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
45 lines (37 loc) · 1021 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
from setuptools import setup, find_packages
import sys, os
install_requires = [
'gevent',
'sqlalchemy',
'celery==3.0.24', # 3.1.5 is latest at time of writing and is slow for some reason
'requests',
'pattern',
'oursql',
'grequests',
'nltk',
'luigi',
'snakebite',
'termcolor',
'functools32', # Backport of Python 3 functools
]
setup(
name = "domainmodeller",
version = "1.1",
packages = find_packages(),
install_requires = install_requires,
tests_require=[
'nose',
'coverage',
'HTTPretty'
],
dependency_links = ['https://github.com/clips/pattern/archive/2.6.tar.gz#egg=pattern'],
entry_points = {
'console_scripts': [
'domainmodeller = domainmodeller.main:main',
]
},
)
# Need to call an external script because distribute will
# not update the python path after installation
if 'install' in sys.argv or 'develop' in sys.argv:
os.system("python setup_postinstall.py")