Skip to content

Commit

Permalink
attempting to change windows python compiler from MSVSC to mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-dixon committed May 9, 2024
1 parent ffeb4fc commit 2b996e1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,13 @@ jobs:
EXTLIB_INSTALL_DIR: ${{github.workspace}}\extlib\install
run: >
(gcm python3).Path &&
Set-Content -Path "C:\hostedtoolcache\windows\Python\3.9.13\x64\Lib\distutils\distutils.cfg" -Value "[build]`ncompiler = mingw32" &&
#Set-Content -Path "C:\hostedtoolcache\windows\Python\3.9.13\x64\Lib\distutils\distutils.cfg" -Value "[build]`ncompiler = mingw32" &&
python3 -m venv ${{github.workspace}}/venv &&
ls ${{github.workspace}}/venv &&
${{github.workspace}}/venv/Scripts/Activate.ps1 &&
pip3 install Cython numpy six &&
pip3 install ${{github.workspace}}\install\python_installer
pip3 install --upgrade pip wheel &&
pip3 install Cython numpy six wheel &&
CXX=mingw32 python3 ${{github.workspace}}\install\python_installer\setup.py bdist_wheel
Expand Down

0 comments on commit 2b996e1

Please sign in to comment.