-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
59 lines (55 loc) · 1.82 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import os
import setuptools
# long description
long_description = open("README.md", "r").read()
version = open(os.path.join("bidsme", "version.txt"), "r").read().strip()
# Define classifiers
CLASSIFIERS = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v2 "
"or later (GPLv2+)",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Medical Science Apps."
]
# Define setup settings
setuptools.setup(
name="bidsme",
version=version,
license="GPLv2+",
description="Flexible bidsifier for multimodal datasets",
long_description=long_description,
author="Nikita Beliy",
author_email="[email protected]",
python_requires=">=3.8",
packages=setuptools.find_packages(),
install_requires=[
"pandas>1.4.4",
"ruamel.yaml>=0.15.35",
"coloredlogs",
"pyparsing",
"bidsschematools"
],
extras_require={
"nifti": ["nibabel"],
"dicom": ["nibabel", "pydicom>=1.4.2",
"dcm2niix>=1.0.20220715", "dicom_parser>=1.2.3"],
"eeg": ["mne"],
"all": ["nibabel", "pydicom>=1.4.2", "mne",
"dcm2niix>=1.0.20220715", "dicom_parser>=1.2.3"]
},
entry_points={
"console_scripts": [
"bidsme=bidsme.main:cli_bidsme",
"bidsme-pdb=bidsme.main:cli_bidsme_pdb"
]
},
zip_safe=False,
classifiers=CLASSIFIERS,
include_package_data=True
)