-
Notifications
You must be signed in to change notification settings - Fork 23
/
setup.py
43 lines (39 loc) · 1.57 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
#!/usr/bin/env python
from setuptools import setup, find_packages
import versioneer
import yaml
with open("requirements.yml", "r") as stream:
try:
requirements = yaml.safe_load(stream)
install_requires = requirements['dependencies']
except yaml.YAMLError as exc:
print(exc)
with open("README.md", "r") as fh:
long_description = fh.read()
setup(name='spec2nii',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='Multi-format in vivo MR spectroscopy conversion to NIFTI',
author='Will Clarke',
author_email='[email protected]',
url='https://github.com/wtclarke/spec2nii',
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(exclude=["tests*"]),
install_requires=install_requires,
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent"],
python_requires='>=3.9',
entry_points={"console_scripts": [
"spec2nii = spec2nii.spec2nii:main"]},
package_data={'spec2nii': ['bruker_properties.json',
'bruker_fid_override.json'],
'spec2nii.GE': ['VESPA_LICENSE']}
)