Skip to content

Commit cdb377f

Browse files
committed
- update urls as "shared" is implied for Windows builds
astral-sh/python-build-standalone#221 - update cpython versions
1 parent 53b14bb commit cdb377f

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

NatlinkSource/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ set(HEADERS_FILES
2121
source_group("Headers" FILES ${HEADERS_FILES})
2222
source_group("Sources" FILES ${SRC_FILES})
2323

24-
# FIXME: this is wrong. We don't need the python interpreter, only it's name (if at all)
25-
add_executable(python_dll IMPORTED)
2624
set_target_properties(python_dll
2725
PROPERTIES
2826
IMPORTED_LOCATION ${_Python_RUNTIME_LIBRARY_RELEASE})

PythonEnv/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ set_property(CACHE PYTHON_VERSION PROPERTY STRINGS ${PYTHON_VERSIONS})
66
#### where to find the 32-bit standalone python for $(PYTHON_VERSION)
77
# TODO: https://discourse.cmake.org/t/possible-to-create-a-python-virtual-env-from-cmake-and-then-find-it-with-findpython3/1132
88
if(${PYTHON_VERSION} STREQUAL 3.12)
9-
set(PYTHON_URL "https://github.com/indygreg/python-build-standalone/releases/download/20240224/cpython-3.12.2+20240224-i686-pc-windows-msvc-shared-install_only.tar.gz")
9+
set(PYTHON_URL "https://github.com/indygreg/python-build-standalone/releases/download/20240415/cpython-3.12.3+20240415-i686-pc-windows-msvc-pgo-full.tar.zst")
1010
elseif(${PYTHON_VERSION} STREQUAL 3.11)
11-
set(PYTHON_URL "https://github.com/indygreg/python-build-standalone/releases/download/20240224/cpython-3.11.8+20240224-i686-pc-windows-msvc-shared-install_only.tar.gz")
11+
set(PYTHON_URL "https://github.com/indygreg/python-build-standalone/releases/download/20240415/cpython-3.11.9+20240415-i686-pc-windows-msvc-pgo-full.tar.zst")
1212
elseif(${PYTHON_VERSION} STREQUAL 3.10)
13-
set(PYTHON_URL "https://github.com/indygreg/python-build-standalone/releases/download/20240224/cpython-3.10.13+20240224-i686-pc-windows-msvc-shared-install_only.tar.gz")
13+
set(PYTHON_URL "https://github.com/indygreg/python-build-standalone/releases/download/20240415/cpython-3.10.14+20240415-i686-pc-windows-msvc-pgo-full.tar.zst")
1414
elseif(${PYTHON_VERSION} STREQUAL 3.9)
15-
set(PYTHON_URL "https://github.com/indygreg/python-build-standalone/releases/download/20240224/cpython-3.9.18+20240224-i686-pc-windows-msvc-shared-install_only.tar.gz")
15+
set(PYTHON_URL "https://github.com/indygreg/python-build-standalone/releases/download/20240415/cpython-3.9.19+20240415-i686-pc-windows-msvc-pgo-full.tar.zst")
1616
elseif(${PYTHON_VERSION} STREQUAL 3.8)
17-
set(PYTHON_URL "https://github.com/indygreg/python-build-standalone/releases/download/20240224/cpython-3.8.18+20240224-i686-pc-windows-msvc-shared-install_only.tar.gz")
17+
set(PYTHON_URL "https://github.com/indygreg/python-build-standalone/releases/download/20240415/cpython-3.8.19+20240415-i686-pc-windows-msvc-pgo-full.tar.zst")
1818
endif()
1919

2020
set(PYTHON_ZIP Python_${PYTHON_VERSION}.zip)

0 commit comments

Comments
 (0)