Use pip install --prefix to prepare the Debian package.

This commit is contained in:
Fabio Manganiello 2023-09-18 11:32:21 +02:00
parent 2c74868315
commit 9bcadcb3c9
Signed by: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -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 <<EOF > "${GIT_BUILD_DIR}/DEBIAN/control"