-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
39 lines (35 loc) · 2.34 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
from pathlib import Path
from setuptools import setup, find_packages
from build_manpages import build_manpages, get_build_py_cmd, get_install_cmd
# Read the version from file
version = (Path(__file__).parent/'version.txt').read_text().strip()
# Read the contents of the README file
readme = (Path(__file__).parent/'README.md').read_text()
# Read the contents of the requirements file
requirements = (Path(__file__).parent/'requirements.txt').read_text().splitlines()
setup(name = 'multiecho', # Required
version = version, # Required
packages = find_packages(exclude=['tests*']), # Required
install_requires = requirements,
tests_require = ['coverage', 'pytest'],
entry_points = {'console_scripts': ['mecombine = multiecho.combination:main']},
cmdclass = {'build_manpages': build_manpages,
'build_py': get_build_py_cmd(),
'install': get_install_cmd()},
description = 'Combine multi-echoes from a multi-echo fMRI acquisition.',
long_description = readme,
long_description_content_type = 'text/markdown',
author = 'Daniel Gomez',
author_email = '[email protected]',
maintainer = 'Marcel Zwiers',
maintainer_email = '[email protected]',
url = 'https://github.com/Donders-Institute/multiecho',
license = 'Apache-2.0 or MIT',
keywords = ['mri', 'multi-echo', 'bids'],
classifiers = ['Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: Implementation :: CPython'])