-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
55 lines (49 loc) · 1.58 KB
/
setup.py
File metadata and controls
55 lines (49 loc) · 1.58 KB
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
50
51
52
53
54
55
import os
import sys
from setuptools import setup, find_packages
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup_args = dict(
name='dlgr.wikiresearch',
version="1.0.0",
description='Demonstration of an external website as a dallinger experiment',
url='http://github.com/Dallinger/dlgr.wikiresearch',
maintainer='Jordan Suchow',
maintainer_email='suchow@berkeley.edu',
license='MIT',
keywords=['science', 'cultural evolution', 'experiments', 'psychology'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
],
packages=find_packages('.'),
package_dir={'': '.'},
namespace_packages=['dlgr'],
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
],
entry_points={
'dallinger.experiments': [
'WikiResearch = dlgr.wikiresearch.experiment:WikiResearch',
],
},
)
# Read in requirements.txt for dependencies.
setup_args['install_requires'] = install_requires = []
setup_args['dependency_links'] = dependency_links = []
with open('requirements.txt') as f:
for line in []:#f.readlines():
req = line.strip()
if not req or req.startswith('#'):
continue
if req.startswith('-e '):
dependency_links.append(req[3:])
else:
install_requires.append(req)
setup(**setup_args)