Skip to content

Commit 1bf2872

Browse files
committed
Avoid dynamic fields in jupyterlite_ai pyproject
1 parent 30928ea commit 1bf2872

1 file changed

Lines changed: 15 additions & 8 deletions

File tree

python/jupyterlite-ai/pyproject.toml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ name = "jupyterlite_ai"
77
readme = "README.md"
88
license = { file = "LICENSE" }
99
requires-python = ">=3.10"
10+
description = "A serverless AI code completions and chat"
11+
authors = [
12+
{ name = "Jupyter Development Team", email = "jupyter@googlegroups.com" },
13+
]
14+
keywords = ["jupyter", "jupyterlab", "jupyterlite", "jupyterlab-extension"]
1015
classifiers = [
1116
"Framework :: Jupyter",
1217
"Framework :: Jupyter :: JupyterLab",
@@ -22,13 +27,20 @@ classifiers = [
2227
"Programming Language :: Python :: 3.13",
2328
"Programming Language :: Python :: 3.14"
2429
]
25-
2630
dependencies = [
2731
"jupyter-chat-components >=0.6.0,<0.7",
2832
"jupyter-secrets-manager >=0.5,<0.6",
2933
"jupyterlab-ai-commands >=0.3.1,<0.4",
3034
]
31-
dynamic = ["version", "description", "authors", "urls", "keywords"]
35+
dynamic = ["version"]
36+
37+
[project.urls]
38+
Documentation = "https://jupyterlite-ai.readthedocs.io/en/latest/"
39+
Repository = "https://github.com/jupyterlite/ai"
40+
Changelog = "https://jupyterlite-ai.readthedocs.io/en/latest/changelog/"
41+
Source = "https://github.com/jupyterlite/ai/tree/main"
42+
Issues = "https://github.com/jupyterlite/ai/issues/new/choose"
43+
"Try it" = "https://jupyterlite.github.io/ai/lab/index.html"
3244

3345
[project.optional-dependencies]
3446
jupyter = [
@@ -45,12 +57,7 @@ docs = [
4557
]
4658

4759
[tool.hatch.version]
48-
source = "nodejs"
49-
path = "../../packages/ai/package.json"
50-
51-
[tool.hatch.metadata.hooks.nodejs]
52-
fields = ["description", "authors", "urls"]
53-
path = "../../packages/ai/package.json"
60+
path = "jupyterlite_ai/_version.py"
5461

5562
[tool.hatch.build.targets.sdist]
5663
artifacts = ["jupyterlite_ai/labextension"]

0 commit comments

Comments
 (0)