Skip to content

Commit 91f6a1c

Browse files
committed
🎨 add dynamic versioning of python pkg
1 parent ccca9f3 commit 91f6a1c

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

pyproject.toml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
[tool.poetry]
1+
[project]
22
name = "vuegen"
3-
version = "0.1.0"
3+
dynamic = ["version"]
4+
5+
[tool.poetry]
46
description = "Module to generate automatic web interface reports with visualizations"
57
authors = ["MoNA group"]
68
license = "MIT"
79
readme = "README.md"
810
repository = "https://github.com/Multiomics-Analytics-Group/vuegen"
11+
version = "0.1.0"
912

1013
[tool.poetry.dependencies]
1114
python = ">=3.9,<3.9.7 || >3.9.7,<4.0"
@@ -39,9 +42,16 @@ quarto-cli = "*"
3942
[tool.poetry.group.dev.dependencies]
4043
ipykernel = {version="^6.29.5", optional=true}
4144

45+
[tool.poetry.requires-plugins]
46+
poetry-dynamic-versioning = { version = ">=1.0.0,<2.0.0", extras = ["plugin"] }
47+
48+
49+
[tool.poetry-dynamic-versioning]
50+
enable = true
51+
4252
[build-system]
43-
requires = ["poetry-core"]
44-
build-backend = "poetry.core.masonry.api"
53+
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
54+
build-backend = "poetry_dynamic_versioning.backend"
4555

4656
# https://stackoverflow.com/a/60990574/9684872
4757
[tool.poetry.extras]

0 commit comments

Comments
 (0)