-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (52 loc) · 1.49 KB
/
Copy pathpyproject.toml
File metadata and controls
61 lines (52 loc) · 1.49 KB
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
[build-system]
requires = ["hatchling==1.28.0", "hatch-nodejs-version==0.4.0", "jupyterlab>=4.5.0,<5"]
build-backend = "hatchling.build"
[project]
name = "cs3_jupyter"
version = "0.1.0"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.10"
dependencies = [
"jupyter_server>=2.0.1,<3",
"cs3client==1.7.1",
"protobuf==6.33.5",
]
[dependency-groups]
dev = [
"ruff==0.15.1",
"sphinx==7.4.7",
]
[tool.hatch.build.targets.wheel]
packages = ["cs3_jupyter"]
[tool.hatch.build.targets.wheel.shared-data]
"jupyter-config/server-config" = "etc/jupyter/jupyter_server_config.d"
"cs3_jupyter/labextension" = "share/jupyter/labextensions/@cs3org/cs3-jupyter"
"install.json" = "share/jupyter/labextensions/@cs3org/cs3-jupyter/install.json"
[tool.hatch.build.hooks.jupyter-builder]
dependencies = ["hatch-jupyter-builder==0.9.1"]
build-function = "hatch_jupyter_builder.npm_builder"
ensured-targets = [
"cs3_jupyter/labextension/static/style.js",
"cs3_jupyter/labextension/package.json",
]
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
build_cmd = "build:prod"
npm = ["jlpm"]
[tool.hatch.build.hooks.jupyter-builder.editable-build-kwargs]
build_cmd = "install:extension"
npm = ["jlpm"]
source_dir = "src"
build_dir = "cs3_jupyter/labextension"
[tool.ruff]
target-version = "py310"
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"E", # pycodestyle (errors)
"W", # pycodestyle (warnings)
"F", # pyflakes
]
extend-ignore = [
"E501", # line too long
]