Skip to content

Commit

Permalink
Ensure setuptools+wheel are installed in jenkins build
Browse files Browse the repository at this point in the history
if only pip had --only-deps / --only-build-deps
  • Loading branch information
mincrmatt12 committed Sep 5, 2024
1 parent 1653b8e commit 0c0362b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ pipeline {
}
steps {
sh "rm dist/* || true"
sh "python setup.py egg_info --tag-build '${TAG_BUILD}' sdist bdist_wheel"
sh "mkdir -p .venv; python -m venv .venv; .venv/bin/pip install setuptools wheel;"
sh ".venv/bin/python setup.py egg_info --tag-build '${TAG_BUILD}' sdist bdist_wheel"
archiveArtifacts artifacts: 'dist/*'
stash includes: 'dist/*', name: 'built'
}
Expand Down

0 comments on commit 0c0362b

Please sign in to comment.