forked from hdmf-dev/hdmf
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·71 lines (63 loc) · 2.08 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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import versioneer
with open('README.rst', 'r') as fp:
readme = fp.read()
pkgs = find_packages('src', exclude=['data'])
print('found these packages:', pkgs)
schema_dir = 'common/hdmf-common-schema/common'
reqs = [
'h5py>=2.9,<3',
'numpy>=1.16,<1.21',
'scipy>=1.1,<2',
'pandas>=1.0.5,<2',
'ruamel.yaml>=0.15,<1',
'jsonschema>=2.6.0,<4',
'setuptools',
]
print(reqs)
setup_args = {
'name': 'hdmf',
'version': versioneer.get_version(),
'cmdclass': versioneer.get_cmdclass(),
'description': 'A package for standardizing hierarchical object data',
'long_description': readme,
'long_description_content_type': 'text/x-rst; charset=UTF-8',
'author': 'Andrew Tritt',
'author_email': '[email protected]',
'url': 'https://github.com/hdmf-dev/hdmf',
'license': "BSD",
'install_requires': reqs,
'packages': pkgs,
'package_dir': {'': 'src'},
'package_data': {'hdmf': ["%s/*.yaml" % schema_dir, "%s/*.json" % schema_dir]},
'classifiers': [
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"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 '
'HDF '
'HDF5 '
'cross-platform '
'open-data '
'data-format '
'open-source '
'open-science '
'reproducible-research ',
'zip_safe': False,
'entry_points': {
'console_scripts': ['validate_hdmf_spec=hdmf.testing.validate_spec:main'],
}
}
if __name__ == '__main__':
setup(**setup_args)