mirror of
https://github.com/wger-project/wger.git
synced 2026-02-18 00:17:51 +01:00
Use hatchling as the build backend, this seems to make less problems
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=61.2"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "wger"
|
||||
|
||||
Reference in New Issue
Block a user