File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,25 @@ jobs:
118
118
run : |
119
119
copy openblas\bin\libopenblas.dll wheelhouse\
120
120
shell : cmd
121
-
121
+ - name : Inject libopenblas.dll into .whl
122
+ run : |
123
+ for %%F in (wheelhouse\opencv_python*.whl) do (
124
+ echo Processing %%F
125
+ mkdir tmpwhl
126
+ cd tmpwhl
127
+ tar -xf ..\%%F
128
+
129
+ echo Copying libopenblas.dll into cv2/
130
+ copy ..\wheelhouse\libopenblas.dll cv2\
131
+
132
+ echo Repacking wheel
133
+ del ..\%%F
134
+ tar -cf ..\%%F *
135
+
136
+ cd ..
137
+ rmdir /s /q tmpwhl
138
+ )
139
+ shell : cmd
122
140
- name : Saving all wheels
123
141
uses : actions/upload-artifact@v4
124
142
with :
@@ -193,7 +211,6 @@ jobs:
193
211
if ($LastExitCode -ne 0) {throw $LastExitCode}
194
212
$cv2_path = $(python -c "import cv2, os; print(os.path.dirname(cv2.__file__))")
195
213
echo $cv2_path
196
- Copy-Item "${{ github.workspace }}\wheelhouse\libopenblas.dll" "$cv2_path\libopenblas.dll"
197
214
python get_build_info.py
198
215
shell : powershell
199
216
env :
You can’t perform that action at this time.
0 commit comments