-
Notifications
You must be signed in to change notification settings - Fork 15
/
pyproject.toml
72 lines (59 loc) · 1.75 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
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling>=1.5.0,<2", "hatch-nodejs-version>=0.3.2"]
[project]
dependencies = [
"aiodocker~=0.19",
"dockerspawner~=12.1",
"jupyter_client>=6.1,<8",
"httpx",
"sqlalchemy>=2",
"pydantic>=2,<3",
"alembic>=1.13,<2",
"jupyter-repo2docker>=2024,<2025",
"aiosqlite~=0.19.0"
]
dynamic = ["version"]
license = {file = "LICENSE"}
name = "tljh-repo2docker"
readme = "README.md"
[project.scripts]
tljh_repo2docker_upgrade_db = "tljh_repo2docker.dbutil:main"
[project.entry-points.tljh]
tljh_repo2docker = "tljh_repo2docker"
[tool.hatch.version]
source = "nodejs"
[tool.hatch.build.targets.sdist]
artifacts = ["tljh_repo2docker/static"]
exclude = [".github"]
[tool.hatch.build.targets.wheel]
artifacts = ["tljh_repo2docker/static"]
[tool.hatch.build.hooks.version]
path = "tljh_repo2docker/_version.py"
[tool.hatch.build.hooks.jupyter-builder]
build-function = "hatch_jupyter_builder.npm_builder"
dependencies = ["hatch-jupyter-builder>=0.5"]
ensured-targets = [
"tljh_repo2docker/static/js/servers.js",
"tljh_repo2docker/static/js/environments.js",
]
skip-if-exists = [
"tljh_repo2docker/static/js/servers.js",
"tljh_repo2docker/static/js/environments.js",
]
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
build_cmd = "build:prod"
npm = ["npm"]
[tool.hatch.build.hooks.jupyter-builder.editable-build-kwargs]
build_cmd = "build"
build_dir = "tljh_repo2docker/static/js"
npm = ["npm"]
source_dir = "src"
[tool.jupyter-releaser.options]
version_cmd = "hatch version"
[tool.jupyter-releaser.hooks]
before-build-npm = ["npm install", "npm run build:prod"]
before-build-python = ["npm run clean"]
before-bump-version = ["python -m pip install hatch"]
[tool.check-wheel-contents]
ignore = ["W002"]