feat(backend): enable poetry-dynamic-versioning

This commit is contained in:
K900
2023-11-14 09:49:21 +03:00
committed by AAGaming
parent 06690890fb
commit e2ade0d731
3 changed files with 23 additions and 7 deletions
+9 -3
View File
@@ -3,7 +3,6 @@ name = "decky-loader"
version = "0.0.0" # the real version will be autogenerated
description = "A plugin loader for the Steam Deck"
license = "GPLv2"
readme = "../README.md"
authors = []
packages = [
{include = "decky_loader"},
@@ -31,6 +30,13 @@ decky-loader = 'decky_loader.main:main'
[tool.pyright]
strict = ["*"]
[tool.poetry-dynamic-versioning]
enable = true
[tool.poetry-dynamic-versioning.substitution]
# don't replace version in decky_plugin.py
files = []
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"