File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -1221,18 +1221,17 @@ def build_cpython(
12211221 # The python.props file keys off MSBUILD, so it needs to be set.
12221222 os .environ ["MSBUILD" ] = str (msbuild )
12231223
1224- zlib_entry = "zlib-ng" if meets_python_minimum_version ("3.14" ) else "zlib"
1224+ python_archive = download_entry (python_entry_name , BUILD )
1225+ entry = DOWNLOADS [python_entry_name ]
1226+ python_version = entry ["version" ]
1227+
1228+ zlib_entry = "zlib-ng" if meets_python_minimum_version (python_version , "3.14" ) else "zlib"
12251229
12261230 bzip2_archive = download_entry ("bzip2" , BUILD )
12271231 sqlite_archive = download_entry ("sqlite" , BUILD )
12281232 xz_archive = download_entry ("xz" , BUILD )
12291233 zlib_archive = download_entry (zlib_entry , BUILD )
12301234
1231- python_archive = download_entry (python_entry_name , BUILD )
1232- entry = DOWNLOADS [python_entry_name ]
1233-
1234- python_version = entry ["version" ]
1235-
12361235 setuptools_wheel = download_entry ("setuptools" , BUILD )
12371236 pip_wheel = download_entry ("pip" , BUILD )
12381237
You can’t perform that action at this time.
0 commit comments