@@ -11,50 +11,19 @@ make.exe print-OR_TOOLS_VERSION | tee.exe test.log
1111which.exe cmake || exit 1
1212which.exe cmake | tee.exe -a test.log
1313REM Python
14- which.exe C:\python38-64\python.exe || exit 1
15- echo C:\python38-64\python.exe: FOUND | tee.exe -a test.log
1614which.exe C:\python39-64\python.exe || exit 1
1715echo C:\python39-64\python.exe: FOUND | tee.exe -a test.log
1816which.exe C:\python310-64\python.exe || exit 1
1917echo C:\python310-64\python.exe: FOUND | tee.exe -a test.log
2018which.exe C:\python311-64\python.exe || exit 1
2119echo C:\python311-64\python.exe: FOUND | tee.exe -a test.log
20+ which.exe C:\python312-64\python.exe || exit 1
21+ echo C:\python312-64\python.exe: FOUND | tee.exe -a test.log
22+ which.exe C:\python313-64\python.exe || exit 1
23+ echo C:\python313-64\python.exe: FOUND | tee.exe -a test.log
2224
2325set LOCAL_PATH = %PATH%
2426
25- REM ##################
26- REM ## PYTHON 3.8 ##
27- REM ##################
28- echo Cleaning Python... | tee.exe -a test.log
29- make.exe clean_python WINDOWS_PATH_TO_PYTHON=c:\python38-64
30- echo Cleaning Python...DONE | tee.exe -a test.log
31-
32- REM make.exe python WINDOWS_PATH_TO_PYTHON=c:\python38-64 || exit 1
33- REM echo make python3.8: DONE | tee.exe -a build.log
34- REM make.exe test_python WINDOWS_PATH_TO_PYTHON=c:\python38-64 || exit 1
35- REM echo make test_python3.8: DONE | tee.exe -a build.log
36- echo Rebuild Python3.8 pypi archive... | tee.exe -a test.log
37- make.exe package_python WINDOWS_PATH_TO_PYTHON=c:\python38-64 || exit 1
38- echo Rebuild Python3.8 pypi archive...DONE | tee.exe -a test.log
39-
40- echo Creating Python3.8 venv... | tee.exe -a test.log
41- set PATH = c:\python38-64;c:\python38-64\Scripts;%PATH%
42- python -m pip install virtualenv
43- set TEMP_DIR = temp_python38
44- python -m virtualenv %TEMP_DIR% \venv
45- set PATH = %LOCAL_PATH%
46- echo Creating Python3.8 venv...DONE | tee.exe -a test.log
47-
48- echo Installing ortools Python3.8 venv... | tee.exe -a test.log
49- FOR %%i IN (%TEMP_DIR% \ortools\dist\*.whl) DO %TEMP_DIR% \venv\Scripts\python -m pip install %%i
50- echo Installing ortools Python3.8 venv...DONE | tee.exe -a test.log
51-
52- echo Testing ortools Python3.8... | tee.exe -a test.log
53- %TEMP_DIR% \venv\Scripts\python cmake\samples\python\sample.py 2 >& 1 | tee.exe -a test.log
54- echo Testing ortools Python3.8...DONE | tee.exe -a test.log
55-
56- FOR %%i IN (%TEMP_DIR% \ortools\dist\*.whl) DO copy %%i .
57-
5827REM ##################
5928REM ## PYTHON 3.9 ##
6029REM ##################
0 commit comments