wger: bumped to flexible routines, many changes, luckily easy update

This commit is contained in:
eyjhb 2025-04-01 22:09:57 +02:00
parent fd98cfb6d0
commit 9a87a9e132
Signed by: eyjhb
GPG key ID: 609F508E3239F920
2 changed files with 11 additions and 13 deletions

View file

@ -1,24 +1,22 @@
diff --git a/pyproject.toml b/pyproject.toml
index f10460b1e..62377bd9c 100644
index 354f492f6..7163c4ffe 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -35,7 +35,8 @@ Issues = "https://github.com/wger-project/wger/issues"
Changelog = "https://wger.readthedocs.io/en/latest/changelog.html"
@@ -37,6 +37,8 @@ Changelog = "https://wger.readthedocs.io/en/latest/changelog.html"
[project.scripts]
-wger = "wger.__main__:main"
+wger = "wger.tasks:main"
wger = "wger.__main__:main"
+manage = "wger.manage:main"
+
[tool.setuptools]
include-package-data = false
@@ -47,6 +48,9 @@ dependencies = { file = ["requirements.txt"] }
[tool.distutils.bdist_wheel]
universal = 1
@@ -53,6 +55,8 @@ universal = 1
# path = "wger/__init__.py"
# expression = "get_version()"
+[tool.hatch.build.targets.wheel.force-include]
+"wger/settings_global.py" = "wger/settings_global.py"
+
[tool.ruff]
# Exclude a variety of commonly ignored directories.