-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
86 lines (71 loc) · 3.09 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
import pathlib
from setuptools import setup
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
# Requirement categories
reqs = ['numpy', 'scipy', 'matplotlib', 'mne~=1.3.1', 'scikit-learn', 'fslpy',
'sails', 'tabulate', 'pyyaml>=5.1', 'neurokit2', 'jinja2==3.0.3',
'glmtools', 'numba', 'nilearn', 'dask', 'distributed', 'parse',
'opencv-python', 'panel', 'h5io']
doc_reqs = ['sphinx==4.0.2', 'numpydoc', 'sphinx_gallery', 'pydata-sphinx-theme']
dev_reqs = ['setuptools>=41.0.1', 'pytest', 'pytest-cov', 'coverage', 'flake8']
name = 'osl'
setup(name=name,
version='0.8.dev0',
description='OHBA Software Library',
long_description=README,
long_description_content_type="text/markdown",
author='OHBA Analysis Group',
license='MIT',
# Choose your license
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Mathematics',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
python_requires='>=3.7',
install_requires=reqs,
extras_require={
'dev': dev_reqs,
'doc': doc_reqs,
'full': dev_reqs + doc_reqs,
},
zip_safe=False,
entry_points={
'console_scripts': [
'osl_maxfilter = osl.maxfilter.maxfilter:main',
'osl_preproc = osl.preprocessing.batch:main',
'osl_func = osl.utils.run_func:main',
]},
packages=['osl', 'osl.tests', 'osl.report', 'osl.maxfilter',
'osl.preprocessing', 'osl.utils', 'osl.utils.spmio',
'osl.source_recon', 'osl.source_recon.rhino',
'osl.source_recon.parcellation', 'osl.glm'],
package_data={'osl': [# Simulations
'utils/simulation_config/*npy',
'utils/simulation_config/*fif',
# Channel information
'utils/neuromag306_info.yml',
# Parcellation files
'source_recon/parcellation/files/*gz',
# Report templates
'report/templates/*']},
command_options={
'build_sphinx': {
'project': ('setup.py', name),
'version': ('setup.py', name),
'release': ('setup.py', name)}},
)