forked from NYUCCL/psiTurk
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
45 lines (40 loc) · 1.63 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
from setuptools import setup
from psiturk.version import version_number
try:
with open("README.md") as readmefile:
long_description = readmefile.read()
except IOError:
long_description = ""
if __name__ == "__main__":
# remove file if it exists and re-write with current version number
fp = open('psiturk/version.py',"w+")
fp.write("version_number = '%s'\n" % version_number)
fp.flush()
fp.close()
setup(
name = "PsiTurk",
version = version_number,
packages = ["psiturk"],
include_package_data = True,
zip_safe = False,
entry_points = {
'console_scripts': [
'psiturk-shell = psiturk.psiturk_shell:run',
'psiturk = psiturk.command_line:process',
'psiturk-server = psiturk.command_line:process',
'psiturk-setup-example = psiturk.command_line:process',
'psiturk-install = psiturk.command_line:process'
]
},
setup_requires = [],
install_requires = ["argparse", "Flask", "SQLAlchemy", "gunicorn",
"boto>=2.9","cmd2","docopt","gnureadline","requests>=2.2.1","user_agents",
"sh", "fake-factory", "gitpython", "fuzzywuzzy",
"psutil>=1.2.1", "setproctitle"],
author = "NYU Computation and Cognition Lab",
author_email = "[email protected]",
description = "An open platform for science on Amazon Mechanical Turk",
long_description = long_description,
url = "http://github.com/NYUCCL/psiturk",
test_suite='test_psiturk'
)