-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
40 lines (33 loc) · 1.45 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
def main():
from glob import glob
from setuptools import setup
exec(open('qap/version.py').read())
setup(name='qap',
version=__version__,
description='A collection of three quality assessment pipelines ' \
'for anatomical MRI and functional MRI scans.',
author='Cameron Craddock, Zarrar Shehzad, Steven Giavasis,' \
'Daniel Clark',
author_email='cameron.craddock@childmind.org',
url='https://github.com/preprocessed-connectomes-project/' \
'quality-assessment-protocol',
download_url='https://github.com/preprocessed-connectomes-project/'\
'quality-assessment-protocol/tarball/1.0.2',
license='',
packages=['qap', 'qap.viz'],
package_data={'qap': ['inpoint*.txt',
'viz/html/*.html',
'test_data/*.nii.gz',
'test_data/workflow_reference/*/*',
'test_data/*/*/*/*/*']},
scripts=glob("scripts/*"),
install_requires=["scipy", "nipype", "nibabel", "nitime", "pyyaml",
"pandas", "seaborn", "pyPdf2", "xhtml2pdf"],
zip_safe=False)
if __name__ == "__main__":
import os
import sys
local_path = os.path.dirname(os.path.abspath(sys.argv[0]))
os.chdir(local_path)
sys.path.insert(0, local_path)
main()