From 18264b04498232a6ab26cd9a58c6b7b51b4ce2e9 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Fri, 22 Oct 2021 23:14:00 +0200 Subject: [PATCH] Makefile: use setup.py instead of pip Abandons the strange 'dependency_links.txt'-bug. Signed-off-by: Ralf Ramsauer --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bb16916..e1abfe3 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ install: install -m 0644 etc/doorlockd.cfg $(ETC) install -m 0644 systemd/doorlockd.service systemd/doorstate.service $(SYSTEMD_UNITS) - pip install --upgrade --force-reinstall --root=$(DESTDIR) . + python setup.py install --root="$(DESTDIR)" --optimize=1 cp -av share/* $(SHARE)