File tree 2 files changed +7
-6
lines changed 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -346,14 +346,13 @@ def hack_props(
346
346
pcbuild_path : pathlib .Path ,
347
347
arch : str ,
348
348
python_version : str ,
349
- zlib_entry : str
349
+ zlib_entry : str ,
350
350
):
351
351
# TODO can we pass props into msbuild.exe?
352
352
353
353
# Our dependencies are in different directories from what CPython's
354
354
# build system expects. Modify the config file appropriately.
355
355
356
-
357
356
bzip2_version = DOWNLOADS ["bzip2" ]["version" ]
358
357
sqlite_version = DOWNLOADS ["sqlite" ]["version" ]
359
358
xz_version = DOWNLOADS ["xz" ]["version" ]
@@ -486,7 +485,7 @@ def hack_project_files(
486
485
cpython_source_path : pathlib .Path ,
487
486
build_directory : str ,
488
487
python_version : str ,
489
- zlib_entry : str
488
+ zlib_entry : str ,
490
489
):
491
490
"""Hacks Visual Studio project files to work with our build."""
492
491
@@ -1225,7 +1224,9 @@ def build_cpython(
1225
1224
entry = DOWNLOADS [python_entry_name ]
1226
1225
python_version = entry ["version" ]
1227
1226
1228
- zlib_entry = "zlib-ng" if meets_python_minimum_version (python_version , "3.14" ) else "zlib"
1227
+ zlib_entry = (
1228
+ "zlib-ng" if meets_python_minimum_version (python_version , "3.14" ) else "zlib"
1229
+ )
1229
1230
1230
1231
bzip2_archive = download_entry ("bzip2" , BUILD )
1231
1232
sqlite_archive = download_entry ("sqlite" , BUILD )
Original file line number Diff line number Diff line change 448
448
},
449
449
"zlib-ng" : {
450
450
"url" : "https://github.com/python/cpython-source-deps/archive/refs/tags/zlib-ng-2.2.4.tar.gz" ,
451
- "size" : 2415819 ,
451
+ "size" : 2415819 ,
452
452
"sha256" : "00bbd88709bc416cb96160ab61d3e1c8f76e106799af7328d0fe434dc7dd5004" ,
453
453
"version" : "2.2.4" ,
454
454
"library_names" : ["z" ],
455
455
"licenses" : ["Zlib" ],
456
456
"license_file" : "LICENSE.zlib-ng.txt" ,
457
- }
457
+ },
458
458
}
You can’t perform that action at this time.
0 commit comments