Use hatchling as the build backend, this seems to make less problems

This commit is contained in:
Roland Geider
2024-01-27 11:48:15 +01:00
parent 325502e10f
commit 2baa28f65c
3 changed files with 4 additions and 4 deletions

View File

@@ -89,7 +89,7 @@ RUN python3 -m venv /home/wger/venv
RUN . /home/wger/venv/bin/activate \
&& pip install --upgrade pip \
&& pip install --no-cache /wheels/* \
&& pip install . \
&& pip install -e . \
&& wger create-settings --database-path /home/wger/db/database.sqlite \
&& wger bootstrap \
&& wger load-online-fixtures \

View File

@@ -66,7 +66,7 @@ RUN chmod +x /home/wger/entrypoint.sh \
&& chown -R wger:wger .
USER wger
RUN pip3 install . \
RUN pip3 install -e . \
&& mkdir ~/media \
&& mkdir ~/static \
&& mkdir ~/beat \

View File

@@ -1,6 +1,6 @@
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "wger"