-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
43 lines (40 loc) · 1.19 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
import setuptools
import json
with open("README.rst", "r") as fh:
long_description = fh.read()
with open('denoise_fmri/pipeline_description.json', 'r') as fh:
pipeline = json.load(fh)
name = pipeline['GeneratedBy'][0]['Name']
description = pipeline['Name']
version = pipeline['GeneratedBy'][0]['Version']
url = pipeline['GeneratedBy'][0]['CodeURL']
author = pipeline['GeneratedBy'][0]['Author']
author_email = pipeline['GeneratedBy'][0]['AuthorEmail']
setuptools.setup(
name=name,
version=version,
author=author,
author_email=author_email,
description=description,
long_description=long_description,
long_description_content_type="text/x-rst",
url=url,
packages=setuptools.find_packages(),
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
entry_points={'console_scripts': [
'denoise_fmri=denoise_fmri.run:main'
]},
install_requires=[
"snakebids>=0.3.9",
"snakemake>=6",
"nilearn",
"pandas",
"numpy"
],
python_requires='>=3.7'
)