-
Notifications
You must be signed in to change notification settings - Fork 31
/
setup.py
81 lines (69 loc) · 2.52 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
"""A setuptools based setup module.
See:
https://packaging.python.org/guides/distributing-packages-using-setuptools/
https://github.com/pypa/sampleproject
"""
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core 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',
'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, 'enigmatoolbox/_version.py')
with io_open(version_file, mode='r') as fd:
exec(fd.read())
setup(
name='enigmatoolbox',
version=__version__,
description='good enigma tools for good people',
long_description=long_description,
long_description_content_type='text/x-rst',
url='https://github.com/MICA-MNI/ENIGMA',
author='enigmators',
author_email='saratheriver@gmail.com',
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='enigma surface connectivity atrophy',
packages=find_packages(exclude=['contrib', 'docs']),
python_requires='>=3.5',
install_requires=INSTALL_REQUIRES,
extras_require={
'test': TEST_REQUIRES + INSTALL_REQUIRES,
},
include_package_data=True,
zip_safe=False,
project_urls={ # Optional
'Documentation': 'https://enigma-toolbox.readthedocs.io',
'Bug Reports': 'https://github.com/MICA-MNI/ENIGMA/issues',
'Source': 'https://github.com/MICA-MNI/ENIGMA',
},
download_url='https://github.com/MICA-MNI/ENIGMA/releases/download/v2.0.3/enigmatoolbox-2.0.3.tar.gz',
)