Skip to content

Commit

Permalink
Fix wheel building post-setup.py (#6380)
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou authored Jul 22, 2024
1 parent 361e7ab commit fc4f6b9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .azure-pipelines-templates/install_others.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ steps:
set -ex
python3.8 -m venv env
source ./env/bin/activate
pip install -r requirements.txt
pip install wheel
python setup.py bdist_wheel
pip install wheel build
python -m build --wheel
WHL=`ls dist/*.whl`
cp $WHL $(Build.ArtifactStagingDirectory)
WHL=`basename $WHL`
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,5 @@ jobs:
cd python
python3 -m venv env
source ./env/bin/activate
pip install -r requirements.txt
pip install twine
twine upload -u __token__ -p ${{ secrets.PYPI_TOKEN }} *.whl
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,8 @@ jobs:
cd python
python3.8 -m venv env
source ./env/bin/activate
pip install -r requirements.txt
pip install wheel
python setup.py bdist_wheel
pip install wheel build
python -m build --wheel
WHL=`ls dist/*.whl`
echo "name=$WHL" >> $GITHUB_OUTPUT
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@ tests/perf-system/analyzer/*.png
**/*.ipynb*
scripts/azure_deployment/.env
.env
python/src/ccf/version.py

0 comments on commit fc4f6b9

Please sign in to comment.