Skip to content

Commit

Permalink
Build package w/build, not setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hmpf committed Aug 9, 2023
1 parent 708d052 commit 30e6885
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ RUN apt-get update \
RUN adduser --system --group --no-create-home --home=/source --shell=/bin/bash nav

RUN pip3 install --upgrade 'setuptools>=61' wheel && \
pip3 install --upgrade 'pip<=23.1.0' pip-tools
pip3 install --upgrade 'pip<=23.1.0' pip-tools build

#################################################################################
### COPYing the requirements file to pip-install Python requirements may bust ###
Expand Down
4 changes: 2 additions & 2 deletions tools/docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ if [[ ! -f "/source/setup.py" ]]; then
fi

cd /source
sudo -u nav python3 setup.py build
python3 setup.py develop
sudo -u nav python3 -m build
pip install -e .
sudo -u nav python3 setup.py build_sass

if [[ ! -f "/etc/nav/nav.conf" ]]; then
Expand Down

0 comments on commit 30e6885

Please sign in to comment.