@@ -83,12 +83,13 @@ repair-wheel-command = "delocate-wheel -w {dest_dir} -v {wheel}"
83
83
84
84
[tool .cibuildwheel .windows ]
85
85
before-all = [
86
- " C:\\ Program Files\\ PowerShell\\ 7\\ pwsh.EXE -Command \" $env:PATH; Get-Command python; python -c 'import sys; print(sys.executable)'\" " ,
87
- " C:\\ Program Files\\ PowerShell\\ 7\\ pwsh.EXE -Command \" Invoke-WebRequest -Uri 'https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe' -OutFile 'miniconda.exe'\" " ,
88
- " start /wait \"\" miniconda.exe /S /D=%UserProfile%\\ Miniconda3" ,
89
- " C:\\ Program Files\\ PowerShell\\ 7\\ pwsh.EXE -Command \" $env:PATH = '$env:UserProfile\\ Miniconda3;$env:UserProfile\\ Miniconda3\\ Scripts;$env:UserProfile\\ Miniconda3\\ Library\\ bin;' + $env:PATH\" " ,
90
- " C:\\ Program Files\\ PowerShell\\ 7\\ pwsh.EXE -Command \" & $env:UserProfile\\ Miniconda3\\ Scripts\\ activate.ps1\" " ,
91
- " C:\\ Program Files\\ PowerShell\\ 7\\ pwsh.EXE -Command \" conda config --add channels conda-forge; conda config --set channel_priority strict; conda install -y -c conda-forge sleef\" "
86
+ " Invoke-WebRequest -Uri 'https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe' -OutFile 'miniconda.exe'" ,
87
+ " Start-Process -FilePath 'miniconda.exe' -ArgumentList '/S','/D=$env:UserProfile\\ Miniconda3' -Wait" ,
88
+ " $env:PATH = '$env:UserProfile\\ Miniconda3;$env:UserProfile\\ Miniconda3\\ Scripts;$env:UserProfile\\ Miniconda3\\ Library\\ bin;' + $env:PATH" ,
89
+ " & $env:UserProfile\\ Miniconda3\\ Scripts\\ activate.ps1" ,
90
+ " conda config --add channels conda-forge" ,
91
+ " conda config --set channel_priority strict" ,
92
+ " conda install -y -c conda-forge sleef"
92
93
]
93
94
before-build = " pip install delvewheel"
94
95
repair-wheel-command = " delvewheel repair -w {dest_dir} {wheel} --add-path %UserProfile%\\ Miniconda3\\ Library\\ bin"
0 commit comments