-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
executable file
·75 lines (65 loc) · 2.07 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# -*- coding: utf-8 -*
import sys
from setuptools import setup, find_packages
# Some Python installations don't add the current directory to path.
if '' not in sys.path:
sys.path.insert(0, '')
import versioneer
with open('README.rst', 'r') as fp:
readme = fp.read()
pkgs = find_packages('src', exclude=['data'])
print('found these packages:', pkgs)
reqs = [
'hdmf>=3.9.0',
'zarr>=2.11.0',
'numpy>=1.22',
'numcodecs>=0.9.1',
'numcodecs==0.11.0',
'pynwb>=2.5.0',
'setuptools',
]
print(reqs)
setup_args = {
'name': 'hdmf_zarr',
'version': versioneer.get_version(),
'cmdclass': versioneer.get_cmdclass(),
'description': 'A package defining a Zarr I/O backend for HDMF',
'long_description': readme,
'long_description_content_type': 'text/x-rst; charset=UTF-8',
'author': 'Oliver Ruebel',
'author_email': '[email protected]',
'url': 'https://github.com/hdmf-dev/hdmf-zarr',
'license': "BSD",
'install_requires': reqs,
'packages': pkgs,
'package_dir': {'': 'src'},
'package_data': {},
'python_requires': '>=3.8',
'classifiers': [
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: BSD License",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Operating System :: Unix",
"Topic :: Scientific/Engineering :: Medical Science Apps."
],
'keywords': 'python '
'Zarr '
'cross-platform '
'open-data '
'data-format '
'open-source '
'open-science '
'reproducible-research ',
'zip_safe': False,
'entry_points': {}
}
if __name__ == '__main__':
setup(**setup_args)