@@ -2,10 +2,10 @@ REM Run this on Windows 10 with VS C++ build tools installed
2
2
3
3
REM Get Python versions
4
4
5
- FOR /F " tokens=*" %%g IN ('dir C:\hostedtoolcache\windows\Python\3.9.* /B') do (SET PYTHON39=%%g )
6
5
FOR /F " tokens=*" %%g IN ('dir C:\hostedtoolcache\windows\Python\3.10.* /B') do (SET PYTHON310=%%g )
7
6
FOR /F " tokens=*" %%g IN ('dir C:\hostedtoolcache\windows\Python\3.11.* /B') do (SET PYTHON311=%%g )
8
7
FOR /F " tokens=*" %%g IN ('dir C:\hostedtoolcache\windows\Python\3.12.* /B') do (SET PYTHON312=%%g )
8
+ FOR /F " tokens=*" %%g IN ('dir C:\hostedtoolcache\windows\Python\3.13.* /B') do (SET PYTHON313=%%g )
9
9
10
10
REM Setup
11
11
mkdir build
25
25
REM Basic configuration
26
26
cmake .. -A x64 -DFREEGLUT_INCLUDE_DIR=%CD% \freeglut-3.0.0\include -DFREEGLUT_LIBRARY=%CD% \freeglut-3.0.0\build\lib\Release\freeglut_static.lib -DFREEGLUT_STATIC=On -DDIP_BUILD_DIPIMAGE=Off -DDIP_PYDIP_WHEEL_INCLUDE_LIBS=On -DDIP_ENABLE_UNICODE=Off
27
27
28
- REM Python 3.9
29
- C:\hostedtoolcache\windows\Python\%PYTHON39% \x64\python.exe -m pip install setuptools wheel build
30
- cmake .. -A x64 -DPython_EXECUTABLE=C:\hostedtoolcache\windows\Python\%PYTHON39% \x64\python.exe
31
- cmake --build . --target bdist_wheel --config Release
32
- copy pydip\Release\staging\dist\*.whl wheelhouse
33
-
34
28
REM Python 3.10
35
29
C:\hostedtoolcache\windows\Python\%PYTHON310% \x64\python.exe -m pip install setuptools wheel build
36
30
cmake .. -A x64 -DPython_EXECUTABLE=C:\hostedtoolcache\windows\Python\%PYTHON310% \x64\python.exe
@@ -49,6 +43,12 @@ cmake .. -A x64 -DPython_EXECUTABLE=C:\hostedtoolcache\windows\Python\%PYTHON312
49
43
cmake --build . --target bdist_wheel --config Release
50
44
copy pydip\Release\staging\dist\*.whl wheelhouse
51
45
46
+ REM Python 3.13
47
+ C:\hostedtoolcache\windows\Python\%PYTHON313% \x64\python.exe -m pip install setuptools wheel build
48
+ cmake .. -A x64 -DPython_EXECUTABLE=C:\hostedtoolcache\windows\Python\%PYTHON313% \x64\python.exe
49
+ cmake --build . --target bdist_wheel --config Release
50
+ copy pydip\Release\staging\dist\*.whl wheelhouse
51
+
52
52
REM Upload to pypi.org
53
53
cd wheelhouse
54
54
@ python -m twine upload *.whl -u __token__ -p %PYPI_TOKEN%
0 commit comments