Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
add venv to PATH
  • Loading branch information
oscarbenjamin committed Dec 22, 2022
commit d8fe093c18f29ca8b2a69af1f1ee7d6fabd976e1
4 changes: 4 additions & 0 deletions bin/cibw_before_build_windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ set -o errexit
# Uncomment this to run cibuildwheel locally on Windows:
# export PATH=$PATH:/c/msys64/usr/bin:/c/msys64/mingw64/bin

# msys2 will not inherit the PATH for the virtual environment in CI
export PATH=$PATH:$VIRTUAL_ENV/Scripts
echo PATH=$PATH

# VER should be set be e.g. 310 for Python 3.10
VER=`python -c 'import sys; print("%s%s" % sys.version_info[:2])'`
echo VER=${VER}
Expand Down
4 changes: 4 additions & 0 deletions bin/cibw_repair_wheel_command_windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ pushd $wheeldir
wheel pack python_flint-*
popd

# msys2 will not inherit the PATH for the virtual environment in CI
export PATH=$PATH:$VIRTUAL_ENV/Scripts
echo PATH=$PATH

# Make the wheel relocatable. This will fail with an error message about
# --no-mangle if strip has not been applied to all mingw64-created .dll and
# .pyd files that are needed for the wheel.
Expand Down