forked from neurogym/neurogym
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (33 loc) · 1.14 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
import re
from setuptools import setup, find_packages
import sys
import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'neurogym'))
from version import VERSION
if sys.version_info.major != 3:
print('This Python is only compatible with Python 3, but you are running '
'Python {}. The installation will likely fail.'.format(sys.version_info.major))
# Environment-specific dependencies.
extras = {
'psychopy': ['psychopy'],
}
# Meta dependency groups.
extras['all'] = [item for group in extras.values() for item in group]
# For developers
extras['dev'] = extras['all'] + [
'jupyter', 'pytest', 'sphinx', 'sphinx_rtd_theme', 'sphinxcontrib.katex',
'nbsphinx'
]
setup(name='neurogym',
packages=[package for package in find_packages()
if package.startswith('neurogym')],
install_requires=[
'numpy',
'gym',
'matplotlib',
],
extras_require=extras,
description='NeuroGym: Gym-style cognitive neuroscience tasks',
author='Manuel Molano, Guangyu Robert Yang, and contributors',
url='https://github.com/neurogym/neurogym',
version=VERSION)