-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
setup.py
58 lines (50 loc) · 1.66 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
""" jupyterLab_hdf : HDF5 api for Jupyter/Jupyterlab
Copyright (c) Max Klein.
Distributed under the terms of the Modified BSD License.
"""
import setuptools
from setupbase import create_cmdclass, find_packages, get_version
with open("README.md", "r") as fh:
long_description = fh.read()
data_files_spec = [
("etc/jupyter/jupyter_notebook_config.d", "jupyter-config/jupyter_notebook_config.d", "jupyterlab_hdf.json"),
]
cmdclass = create_cmdclass(data_files_spec=data_files_spec)
setup_dict = dict(
name="jupyterlab_hdf",
description="A Jupyter Notebook server extension that provides APIs for fetching hdf5 contents and data. Built on h5py.",
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(),
cmdclass=cmdclass,
author="Max Klein",
url="https://github.com/jupyterlab/jupyterlab-hdf5",
license="BSD",
platforms="Linux, Mac OS X, Windows",
keywords=["Jupyter", "JupyterLab", "hdf5"],
python_requires=">=3.6",
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
],
install_requires=[
"h5grove==0.0.14",
"h5py",
"notebook<7",
"numpy",
"tornado",
],
extras_require={
"dev": [
"black",
"bump2version",
"pytest",
"requests",
]
},
)
setuptools.setup(version=get_version("jupyterlab_hdf/_version.py"), **setup_dict)