-
Notifications
You must be signed in to change notification settings - Fork 114
/
Copy pathpyproject.toml
27 lines (21 loc) · 1.07 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
[build-system]
requires = ["jupyter_packaging~=0.10,<2", "jupyterlab>=3,<4"]
build-backend = "jupyter_packaging.build_api"
[tool.jupyter-packaging.options]
skip-if-exists = ["jupyros/labextension/static/style.js", "jupyros/nbextension/extension.js", "jupyros/nbextension/index.js"]
ensured-targets = ["jupyros/labextension/static/style.js", "jupyros/labextension/package.json", "jupyros/nbextension/extension.js", "jupyros/nbextension/index.js"]
[tool.jupyter-packaging.builder]
factory = "jupyter_packaging.npm_builder"
[tool.jupyter-packaging.build-args]
path="js"
build_cmd = "build:prod"
source_dir="lib"
npm = ["jlpm"]
[tool.check-manifest]
ignore = ["jupyros/labextension/**", "jupyros/nbextension/**", "notebooks/**", "scripts/**", "docs/**", "js/**", ".*"]
[tool.jupyter-releaser.hooks]
before-bump-version = ["python -m pip install jupyterlab", "cd js && jlpm clean"]
before-build-npm = ["python -m pip install jupyterlab", "cd js && jlpm clean && jlpm"]
before-build-python = ["cd js && jlpm clean"]
[tool.jupyter-releaser.options]
version-cmd = "python scripts/bump-version.py"