From d4010dce20826eef2e6bf1c67bd303d3b653265c Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Fri, 7 Jul 2023 11:35:17 -0300 Subject: [PATCH] ci: fix pip packaging issue --- utils/tests/gitlab-ci-cppyy.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/utils/tests/gitlab-ci-cppyy.yml b/utils/tests/gitlab-ci-cppyy.yml index 63d0d63bb..b138b876c 100644 --- a/utils/tests/gitlab-ci-cppyy.yml +++ b/utils/tests/gitlab-ci-cppyy.yml @@ -104,16 +104,16 @@ cppyy-18.04: - $PYTHON -m venv ./venv - . ./venv/bin/activate # Upgrade the pip version to reuse the pre-build cppyy - - $PYTHON -m pip install pip --upgrade - - $PYTHON -m pip install setuptools setuptools_scm wheel --upgrade - - $PYTHON -m pip install wheel auditwheel cmake-build-extension cppyy==2.4.2 + - python -m pip install pip --upgrade + - python -m pip install setuptools setuptools_scm wheel --upgrade + - python -m pip install auditwheel cmake-build-extension cppyy==2.4.2 # Configure and build wheel - - $PYTHON setup.py bdist_wheel build_ext - - export EXCLUDE_INTERNAL_LIBRARIES=`$PYTHON ./build-support/pip-wheel/auditwheel-exclude-list.py` + - python setup.py bdist_wheel build_ext + - export EXCLUDE_INTERNAL_LIBRARIES=`python ./build-support/pip-wheel/auditwheel-exclude-list.py` # Bundle in shared libraries that were not explicitly packaged or depended upon - - $PYTHON -m auditwheel repair ./dist/*whl -L /lib64 $EXCLUDE_INTERNAL_LIBRARIES + - python -m auditwheel repair ./dist/*whl -L /lib64 $EXCLUDE_INTERNAL_LIBRARIES # Clean the build directory - - $PYTHON ./ns3 clean + - python ./ns3 clean # Clean up the environment - deactivate - rm -R ./venv