-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
56 lines (52 loc) · 1.56 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
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="empty-trash",
version="0.2.3",
url="https://github.com/edina/nb_empty_trash",
author="ian Stuart",
description="Simple Jupyter extension to show the size of the trash folder, and a button the empty it.",
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",
"pre-commit",
"psutil>=5.6.0",
]
},
data_files=[
("share/jupyter/nbextensions/empty_trash", ["empty_trash/static/trash.js"]),
(
"etc/jupyter/jupyter_notebook_config.d",
["jupyter-config/nbconfig/notebook.d/empty_trash.json"],
),
(
"etc/jupyter/nbconfig/notebook.d",
["jupyter-config/jupyter_notebook_config.d/empty_trash.json"],
),
],
zip_safe=False,
include_package_data=True,
)