Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,20 @@ jobs:
mv dist/repaired/*.whl dist/
rmdir dist/repaired

# Windows: bundle dqrobotics.dll into the wheel (as auditwheel and
# delocate do on Linux and macOS). Without it, importing _core fails
# with "DLL load failed while importing _core" wherever dqrobotics.dll
# is not on the DLL search path, i.e. on every user's machine.
- name: Repair wheel (Windows, delvewheel)
if: runner.os == 'Windows'
shell: bash
run: |
pip install delvewheel
delvewheel repair --add-path "C:/dqrobotics/bin" -w dist/repaired dist/*.whl
rm -f dist/*.whl
mv dist/repaired/*.whl dist/
rmdir dist/repaired

# Install the wheel in a clean environment and use it. --no-deps: only
# papers.icra2019 needs marinholab-solvers-qpoases, whose wheels do not
# cover every platform and Python version; dqrobotics comes from its
Expand Down
Loading