Skip to content

Commit c8cf451

Browse files
committed
[skip travis] clean up the build folder between wheel creation
1 parent c4f57d9 commit c8cf451

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

appveyor.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,29 +53,33 @@ build_script:
5353
5454
cd ..\..
5555
56-
xcopy "%APPVEYOR_BUILD_FOLDER%\opencv\build\lib\RELEASE\*.pyd" cv2
56+
xcopy "%APPVEYOR_BUILD_FOLDER%\opencv\build\lib\RELEASE\cv2.pyd" cv2
5757
5858
C:\Python27\python.exe setup.py bdist_wheel
5959
6060
del cv2\*.pyd
61+
rmdir "%APPVEYOR_BUILD_FOLDER%\build" /s /q
6162
6263
xcopy "%APPVEYOR_BUILD_FOLDER%\opencv\build64\lib\RELEASE\*.pyd" cv2
6364
6465
C:\Python27-x64\python.exe setup.py bdist_wheel
6566
6667
del cv2\*.pyd
68+
rmdir "%APPVEYOR_BUILD_FOLDER%\build" /s /q
6769
6870
xcopy "%APPVEYOR_BUILD_FOLDER%\opencv\build\lib\python3\Release\*.pyd" cv2
6971
7072
C:\Python35\python.exe setup.py bdist_wheel
7173
7274
del cv2\*.pyd
75+
rmdir "%APPVEYOR_BUILD_FOLDER%\build" /s /q
7376
7477
xcopy "%APPVEYOR_BUILD_FOLDER%\opencv\build64\lib\python3\Release\*.pyd" cv2
7578
7679
C:\Python35-x64\python.exe setup.py bdist_wheel
7780
7881
del cv2\*.pyd
82+
rmdir "%APPVEYOR_BUILD_FOLDER%\build" /s /q
7983
8084
before_test:
8185
- cmd: >-

0 commit comments

Comments
 (0)