Skip to content

Commit

Permalink
Adjusting for the way wheel pack works
Browse files Browse the repository at this point in the history
  • Loading branch information
jmwright committed Jul 15, 2024
1 parent 0fadcf7 commit e7156a8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-vtk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,10 @@ jobs:
mv wheel_build/*.dist-info wheel_build/cadquery_vtk-9.2.6.dist-info # Rename the dist-info file to the new name
wheel pack wheel_build/; # Create a new wheel file with the new name by prepending "cadquery_" to the name
rm ./vtk/build/dist/*.whl # Remove the old wheel file
mv ./wheel_build/cadquery_${wheel_file} ./vtk/build/dist/ # Move the new wheel file to the dist directory
mv vtk/build/dist/vtk-9.2.6.dev0-cp${{ env.PYTHON_VERSION_NO_DOTS }}-cp${{ env.PYTHON_VERSION_NO_DOTS }}-${{ env.WHEEL_OS_VERSION }}.whl vtk/build/dist/cadquery-vtk-9.2.6-cp${{ env.PYTHON_VERSION_NO_DOTS }}-cp${{ env.PYTHON_VERSION_NO_DOTS }}-${{ env.WHEEL_OS_VERSION }}.whl
new_wheel_file=(ls wheel_build/*.whl | xargs -n 1 basename)
mv wheel_build/*.whl ./vtk/build/dist/ # Move the new wheel file to the dist directory
# mv ./wheel_build/cadquery_${wheel_file} ./vtk/build/dist/ # Move the new wheel file to the dist directory
# mv vtk/build/dist/vtk-9.2.6.dev0-cp${{ env.PYTHON_VERSION_NO_DOTS }}-cp${{ env.PYTHON_VERSION_NO_DOTS }}-${{ env.WHEEL_OS_VERSION }}.whl vtk/build/dist/cadquery-vtk-9.2.6-cp${{ env.PYTHON_VERSION_NO_DOTS }}-cp${{ env.PYTHON_VERSION_NO_DOTS }}-${{ env.WHEEL_OS_VERSION }}.whl
- name: Test wheel
shell: bash -l {0}
Expand Down

0 comments on commit e7156a8

Please sign in to comment.