-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
87 lines (78 loc) · 2.33 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#!/usr/bin/env python
import os
import pathlib
import sys
from setuptools import setup, find_packages
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
# The directory containing this file
HERE = pathlib.Path(__file__).parent
readme = (HERE / "README.md").read_text(encoding="utf-8")
history = (HERE / "CHANGELOG.md").read_text(encoding="utf-8")
# Get rid of Sphinx markup
history = history.replace('.. :changelog:', '')
doclink = """
Documentation
-------------
The full documentation is at http://dallinger-griduniverse.rtfd.org.
"""
setup_args = dict(
name='dlgr.griduniverse',
version='0.1.0',
description='A Dallinger experiment that creates a Griduniverse for the '
'study of human social behavior - a parameterized space of '
'games expansive enough to capture a diversity of relevant '
'dynamics, yet simple enough to permit rigorous analysis.',
long_description=readme + '\n\n' + doclink + '\n\n' + history,
long_description_content_type="text/markdown",
author='Jordan Suchow',
author_email='suchow@berkeley.edu',
url='https://github.com/suchow/Griduniverse',
packages=find_packages('.'),
package_dir={'': '.'},
namespace_packages=['dlgr'],
include_package_data=True,
install_requires=[
'dallinger',
'cached-property',
"async-timeout",
'networkx',
'numpy',
'faker',
"pip>=20",
"pip-tools",
],
license='MIT',
zip_safe=False,
keywords='Dallinger Griduniverse',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 2.7',
],
entry_points={
'dallinger.experiments': [
'Griduniverse = dlgr.griduniverse.experiment:Griduniverse',
],
},
extras_require={
'dev': [
'alabaster',
'coverage',
'coverage_pth',
'codecov',
'flake8',
'google-compute-engine',
'pytest',
'recommonmark',
'Sphinx',
'sphinxcontrib-spelling',
'tox',
'mock',
],
},
)
setup(**setup_args)