-
Notifications
You must be signed in to change notification settings - Fork 76
/
Copy pathsetup.py
83 lines (70 loc) · 2.56 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
"""A setuptools based setup module.
See:
https://packaging.python.org/guides/distributing-packages-using-setuptools/
https://github.com/pypa/sampleproject
"""
from setuptools import setup, find_packages
from os import path
from io import open as io_open
TEST_REQUIRES = [
# testing and coverage
'pytest', 'coverage', 'pytest-cov', 'coveralls',
]
INSTALL_REQUIRES = ['numpy>=1.11.0',
'scipy>=0.17.0',
'scikit-learn>=0.20.0',
'matplotlib>=2.0.0',
'vtk>=8.1.0,<9.3.2',
'nibabel',
'pillow',
'pandas']
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
__version__ = None
version_file = path.join(here, 'brainspace/_version.py')
with io_open(version_file, mode='r') as fd:
exec(fd.read())
setup(
name='brainspace',
version=__version__,
description='Cortical gradients and beyond',
long_description=long_description,
long_description_content_type='text/x-rst',
url='https://github.com/MICA-MNI/BrainSpace',
author='BrainSpace developers',
author_email='[email protected]',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3 :: Only',
],
keywords='brain cortex gradient manifold',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
python_requires='>=3.5',
install_requires=INSTALL_REQUIRES,
extras_require={
'test': TEST_REQUIRES + INSTALL_REQUIRES,
},
include_package_data=True,
zip_safe=False,
# package_data={ # Optional
# 'mydata': ['brainspace_data/*'],
# },
project_urls={ # Optional
'Documentation': 'https://brainspace.readthedocs.io',
'Bug Reports': 'https://github.com/MICA-MNI/BrainSpace/issues',
'Source': 'https://github.com/MICA-MNI/BrainSpace',
},
download_url='https://github.com/MICA-MNI/BrainSpace/archive/'
'{ver}.tar.gz'.format(ver=__version__),
)