-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
39 lines (36 loc) · 1.04 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
from setuptools import setup, find_packages
import versioneer
with open("README.md", encoding="utf-8") as handle:
long_description = handle.read()
setup(
name="exdir",
packages=find_packages(),
include_package_data=True,
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
data_files=[
# like `jupyter nbextension install --sys-prefix`
(
"share/jupyter/nbextensions/exdir",
[
"exdir/static/index.js",
],
),
# like `jupyter nbextension enable --sys-prefix`
(
"etc/jupyter/nbconfig/notebook.d",
["jupyter-config/nbconfig/notebook.d/exdir.json"],
),
# like `jupyter serverextension enable --sys-prefix`
(
"etc/jupyter/jupyter_notebook_config.d",
["jupyter-config/jupyter_notebook_config.d/exdir.json"],
),
],
install_requires=[
"numpy>=1.20",
"ruamel.yaml==0.18.10",
],
python_requires=">=3.7",
zip_safe=False,
)