diff --git a/pkg/build/pipelines/python/build-gpep517.yaml b/pkg/build/pipelines/python/build-gpep517.yaml index 0bf08cdfc..9bd277914 100644 --- a/pkg/build/pipelines/python/build-gpep517.yaml +++ b/pkg/build/pipelines/python/build-gpep517.yaml @@ -3,15 +3,12 @@ name: Build a Python wheel with gpep517 needs: packages: - busybox + - python3 + - py3-gpep517 + - py3-installer + - py3-wheel pipeline: - - runs: | - if ! [ -x "$(command -v python3)" ]; then - echo 'Error: Python is not installed.' - exit 1 - fi - - runs: | python3 -m gpep517 build-wheel --wheel-dir dist --output-fd 3 3>&1 >&2 - python3 -m installer -d "${{targets.contextdir}}" dist/*.whl - find ${{targets.contextdir}} -name "*.pyc" -exec rm -rf '{}' + + python3 -m installer -d "${{targets.contextdir}}" dist/*.whl \ No newline at end of file