-
Notifications
You must be signed in to change notification settings - Fork 21
/
setup.py
53 lines (47 loc) · 1.59 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
import os
from pathlib import Path
from setuptools import setup
root = Path(__file__).parent
d = {}
exec(open("nwbwidgets/version.py").read(), None, d)
version = d["version"]
with open("README.md") as f:
long_description = f.read()
with open(os.path.join(root, "requirements.txt")) as f:
requirements = f.readlines()
setup(
author="Ben Dichter",
author_email="[email protected]",
version=version,
classifiers=[
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha",
"Framework :: Jupyter",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
description="This is nwbwidgets, widgets for viewing the contents of a "
"NWB-file in Jupyter Notebooks using ipywidgets.",
install_requires=requirements,
extras_require={
"human_electrodes": ["nilearn", "trimesh"],
"mouse_electrodes": ["ccfwidget", "aiohttp"],
"full": ["ccfwidget", "aiohttp", "nilearn", "trimesh"],
},
license="BSD",
keywords=["jupyter", "hdf5", "notebook", "nwb"],
long_description=long_description,
long_description_content_type="text/markdown",
name="nwbwidgets",
packages=[
"nwbwidgets",
"nwbwidgets/utils",
"nwbwidgets/analysis",
"nwbwidgets/controllers",
],
python_requires=">=3.7",
setup_requires=["setuptools>=38.6.0", "setuptools_scm"],
url="https://github.com/NeurodataWithoutBorders/nwb-jupyter-widgets",
)