-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
58 lines (48 loc) · 1.59 KB
/
setup.py
File metadata and controls
58 lines (48 loc) · 1.59 KB
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
from subprocess import call
from setuptools import Command, find_packages, setup
def readme():
with open('README.md') as f:
return f.read()
class RunTests(Command):
"""Run all tests."""
description = 'run tests'
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
"""Run all tests!"""
errno = call(['py.test', '--cov=cpac_output_to_bids', '--cov-report=term-missing'])
raise SystemExit(errno)
setup(name='cpac_outputs_to_bids',
version='0.1',
description='Converts CPAC outputs into BIDS derivative format.',
long_description=readme(),
classifiers=['Development Status :: 3 = Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Medical Science Apps.'],
keywords='functional MRI fMRI informatics preprocessing cpac',
url='https://github.com/FCP-INDI/cpac_outputs_to_bids',
author='R. Cameron Craddock',
author_email='cameron.craddock@gmail.com',
license='MIT',
packages=['cpac_output_to_bids'],
install_requires=[
'numpy',
'scipy',
'pandas',
'pyyaml'
],
extras_require={
'test': ['coverage', 'pytest', 'pytest-cov'],
},
entry_points={
'console_scripts': [
'cpb=cpac_output_to_bids.cli:main',
],
},
cmdclass={'test': RunTests},
include_package_data=True,
zip_safe=False)