-
Notifications
You must be signed in to change notification settings - Fork 36
/
pyproject.toml
137 lines (124 loc) · 3.05 KB
/
pyproject.toml
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
[build-system]
requires = [
"hatchling>=1.3.1",
"hatch-jupyter-builder",
"jupyterlab>=4,<5",
]
build-backend = "hatchling.build"
[project]
name = "jupyter-fs"
description = "A Filesystem-like mult-contents manager backend for Jupyter"
version = "1.0.0"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.7"
authors = [
{ name = "Tim Paine", email = "[email protected]" },
]
keywords = [
"Jupyter",
"JupyterLab",
"Extensions",
"IPython",
"Filesystem",
"Tree",
"Filetree",
]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: Jupyter",
"Framework :: Jupyter :: JupyterLab",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: Apache Software License",
]
dependencies = [
"fs>=2.4.11",
"fs-s3fs>=1.1.1",
"fs.smbfs>=0.6.3",
"jupyterlab>=4,<5",
"jupyter_server>=2,<3",
]
[project.optional-dependencies]
develop = [
# Test deps
"boto3",
"fs-miniofs",
"pysmb",
"pytest",
"pytest-asyncio",
"pytest-cov",
"pytest-jupyter[server]",
"pytest-sugar",
"pytest-xdist",
"pytest-asyncio",
"pytest-jupyter[server]",
# Other deps
"bump2version>=1.0.0",
"check-manifest",
"ruff>=0.3.5,<0.4",
]
test = [
"boto3",
"docker",
"fs-miniofs",
"mock",
"pysmb",
"pytest",
"pytest-asyncio",
"pytest-cov",
"pytest-jupyter[server]",
"pytest-sugar",
"pytest-xdist",
"pytest-asyncio",
"pytest-jupyter[server]",
]
[project.urls]
repository = "https://github.com/jpmorganchase/jupyter-fs"
homepage = "https://github.com/jpmorganchase/jupyter-fs"
[tool.check-manifest]
ignore = [
"jupyterfs/labextension/**",
"js/**"
]
[tool.hatch.build]
artifacts = [
"jupyterfs/labextension"
]
[tool.hatch.build.targets.wheel]
packages = ["jupyterfs"]
[tool.hatch.build.targets.wheel.shared-data]
"jupyterfs/labextension" = "share/jupyter/labextensions/jupyter-fs"
"jupyterfs/labextension/schemas/jupyter-fs/plugin.json" = "share/jupyter/lab/schemas/jupyter-fs/plugin.json"
"jupyterfs/extension/install.json" = "share/jupyter/labextensions/jupyter-fs/install.json"
"jupyterfs/extension/jupyter_server_config.d/jupyterfs.json" = "etc/jupyter/jupyter_server_config.d/jupyterfs.json"
[tool.hatch.build.targets.sdist]
exclude = [
".github",
"binder",
"docs",
]
[tool.hatch.build.hooks.jupyter-builder]
build-function = "hatch_jupyter_builder.npm_builder"
ensured-targets = [
"jupyterfs/labextension/package.json",
]
skip-if-exists = [
"jupyterfs/labextension/package.json",
]
dependencies = [
"hatch-jupyter-builder>=0.5.0",
]
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
path = "js"
build_cmd = "build"
npm = "jlpm"
[tool.ruff]
line-length = 150
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]