makefile: Don't fail while building and installing multiple versions

When older version is already built and later code is updated to newer version
and built multiple .whl files are present in dist/ directory. This confuses the
install script that assumes only one .whl is present. Pip refuses to install
multiple versions of the same package. This error was seen when bringing up the
'stable' container.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2024-07-30 08:03:22 -07:00 committed by James Valleroy
parent 96bd9c8bd4
commit 0ff23862a0
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -70,6 +70,7 @@ build:
$(MAKE) -C doc -j 8
# Build .whl package
rm -f dist/plinth-*.whl
$(PYTHON) -m build --no-isolation --skip-dependency-check --wheel
install: