File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -112,13 +112,17 @@ jobs:
112
112
echo %CMAKE_ARGS%
113
113
114
114
python setup.py bdist_wheel --py-limited-api=cp37 --dist-dir=%cd%\\wheelhouse -v
115
- for /d %%D in (build\lib*) do set BUILDDIR=%%D
116
- if exist %BUILDDIR%\cv2 (
117
- copy /Y openblas\bin\libopenblas.dll %BUILDDIR%\cv2\libopenblas.dll
118
- ) else (
119
- echo [!] cv2 directory not found in %BUILDDIR%
120
- exit /b 1
115
+ setlocal enabledelayedexpansion
116
+ for /d %%D in (build\lib*) do (
117
+ set "BUILDDIR=%%D"
118
+ if exist "%%D\cv2" (
119
+ copy /Y openblas\bin\libopenblas.dll "%%D\cv2\libopenblas.dll"
120
+ ) else (
121
+ echo [!] cv2 directory not found in %%D
122
+ exit /b 1
123
+ )
121
124
)
125
+ endlocal
122
126
shell : cmd
123
127
124
128
- name : Saving all wheels
You can’t perform that action at this time.
0 commit comments