We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88444dc commit 92e701cCopy full SHA for 92e701c
1 file changed
pyproject.toml
@@ -4,7 +4,6 @@ build-backend = "setuptools.build_meta"
4
5
[project]
6
name = "datalab-kernel"
7
-version = "0.1.0"
8
description = "A standalone Jupyter kernel for DataLab with optional live synchronization"
9
readme = "README.md"
10
license = {text = "BSD-3-Clause"}
@@ -36,6 +35,7 @@ dependencies = [
36
35
"matplotlib>=3.5",
37
"sigima>=1.0",
38
]
+dynamic = ["version"]
39
40
[project.optional-dependencies]
41
dev = [
@@ -67,6 +67,9 @@ datalab-kernel-install = "datalab_kernel.install:main"
67
where = ["."]
68
include = ["datalab_kernel*"]
69
70
+[tool.setuptools.dynamic]
71
+version = { attr = "datalab_kernel.__version__" }
72
+
73
[tool.pytest.ini_options]
74
testpaths = ["datalab_kernel/tests"]
75
python_files = ["*_test.py", "test_*.py"]
0 commit comments