Skip to content

Commit

Permalink
Use hatchling as the build backend, this seems to make less problems
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandgeider committed Jan 27, 2024
1 parent 325502e commit 2baa28f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion extras/docker/demo/Dockerfile
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion extras/docker/development/Dockerfile
Expand Up @@ -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 \
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
@@ -1,6 +1,6 @@
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "wger"
Expand Down

0 comments on commit 2baa28f

Please sign in to comment.