-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
38 lines (35 loc) · 1.15 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
import setuptools # for the setup, i.e. generate the script that enables CLI
with open('niix2bids/metadata.py', 'r') as fp:
line = fp.readline() # read first line, which is "__version__ = '0.0.1'"
__version__ = line.split()[2].strip("'") # extract version number
with open('README.md', 'r') as f:
long_description = f.read()
setuptools.setup(
name="niix2bids",
version=__version__,
author='Benoit Beranger',
author_email='benoit.beranger@icm-institute.org',
url='https://github.com/benoitberanger/niix2bids.git',
description='Automatic BIDS architecture',
long_description=long_description,
long_description_content_type="text/markdown",
license='GPL3',
packages=setuptools.find_packages(),
python_requires='>=3.6',
install_requires=[
"pandas",
"nibabel",
],
entry_points={
'console_scripts': [
'niix2bids = niix2bids.cli:main'
]
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GLP3",
"Operating System :: OS Independent",
],
keywords='MRI BIDS',
zip_safe=False
)