forked from NeurodataWithoutBorders/pynwb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·73 lines (64 loc) · 2.1 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
# -*- 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 = 'nwb-schema/core'
reqs = [
'h5py>=2.9,<3',
'hdmf>=2.5.6,<3',
'numpy>=1.16,<1.21',
'pandas>=1.0.5,<2',
'python-dateutil>=2.7,<3',
'setuptools'
]
print(reqs)
setup_args = {
'name': 'pynwb',
'version': versioneer.get_version(),
'cmdclass': versioneer.get_cmdclass(),
'description': 'Package for working with Neurodata stored in the NWB format',
'long_description': readme,
'long_description_content_type': 'text/x-rst; charset=UTF-8',
'author': 'Andrew Tritt',
'author_email': 'ajtritt@lbl.gov',
'url': 'https://github.com/NeurodataWithoutBorders/pynwb',
'license': "BSD",
'install_requires': reqs,
'packages': pkgs,
'package_dir': {'': 'src'},
'package_data': {'pynwb': ["%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': 'Neuroscience '
'python '
'HDF '
'HDF5 '
'cross-platform '
'open-data '
'data-format '
'open-source '
'open-science '
'reproducible-research '
'PyNWB '
'NWB '
'NWB:N '
'NeurodataWithoutBorders',
'zip_safe': False
}
if __name__ == '__main__':
setup(**setup_args)