Skip to content

Commit

Permalink
Copy wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed May 3, 2024
1 parent 0e981b3 commit 647645b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions build-wheels-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,14 @@ zip -r openturns-${VERSION}-${TAG}.whl openturns openturns.libs openturns-${VERS

# gather dependencies
delocate-listdeps openturns-${VERSION}-${TAG}.whl
delocate-wheel -w ${SCRIPTPATH}/wheelhouse -v openturns-${VERSION}-${TAG}.whl
delocate-listdeps --all ${SCRIPTPATH}/wheelhouse/openturns-${VERSION}-${TAG}.whl
delocate-wheel -w /tmp/wheelhouse -v openturns-${VERSION}-${TAG}.whl
ls -l /tmp/wheelhouse
delocate-listdeps --all /tmp/wheelhouse/openturns-${VERSION}-${TAG}.whl

# test
cd /tmp
python${PYVER} -m pip install dill psutil --break-system-packages
python${PYVER} -m pip install openturns --pre --no-index -f ${SCRIPTPATH}/wheelhouse -vvv --break-system-packages
python${PYVER} -m pip install openturns --pre --no-index -f /tmp/wheelhouse -vvv --break-system-packages
python${PYVER} -c "import openturns as ot; print(ot.__version__)"

cp -rv /tmp/wheelhouse ${SCRIPTPATH}

0 comments on commit 647645b

Please sign in to comment.