forked from jupyter-server/jupyter-resource-usage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
53 lines (49 loc) · 1.49 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 pathlib
from glob import glob
import setuptools
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
setuptools.setup(
name="dnbresuse",
version="0.4.0",
url="https://github.com/edina/nbresuse",
author="Yuvi Panda, Ian Stuart, Bert Robberechts",
description="Simple Jupyter extension to show what resources your docker notebook-container is using",
long_description=README,
long_description_content_type="text/markdown",
license="BSD",
classifiers=[
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
],
packages=setuptools.find_packages(),
install_requires=["notebook>=6.0.0", "prometheus_client", "psutil>=5.6.0"],
extras_require={
"dev": [
"autopep8",
"pytest",
"flake8",
"pytest-cov>=2.6.1",
"mock",
"black",
"tornado",
"traitlets",
"notebook",
"prometheus_client",
"psutil",
"pre-commit",
]
},
data_files=[
("share/jupyter/nbextensions/nbresuse", glob("nbresuse/static/*")),
(
"etc/jupyter/jupyter_notebook_config.d",
["nbresuse/etc/serverextension.json"],
),
("etc/jupyter/nbconfig/notebook.d", ["nbresuse/etc/nbextension.json"]),
],
zip_safe=False,
include_package_data=True,
)