From 9bcadcb3c9cb782c07196a5825264aca666e4563 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 18 Sep 2023 11:32:21 +0200 Subject: [PATCH] Use pip install --prefix to prepare the Debian package. --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 1461a2af6..219e12dd7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -280,7 +280,7 @@ steps: - export PKGNAME="${PWD}/${GIT_PKG_NAME}_${GIT_VERSION}.deb" - echo "--- Building git package" - - python setup.py install --prefix="$GIT_BUILD_DIR" --no-deps + - pip install --prefix="$GIT_BUILD_DIR" --no-cache --no-deps - mkdir "${GIT_BUILD_DIR}/DEBIAN" - | cat < "${GIT_BUILD_DIR}/DEBIAN/control"