|
75 | 75 | "shared_depends_win32": ["libcrypto-1_1", "libssl-1_1"],
|
76 | 76 | "static_depends_no_project": ["libcrypto_static", "libssl_static"],
|
77 | 77 | },
|
78 |
| - "_tkinter": {"ignore_static": True, "shared_depends": ["tcl86t", "tk86t"],}, |
| 78 | + "_tkinter": { |
| 79 | + "ignore_static": True, |
| 80 | + "shared_depends": ["tcl86t", "tk86t"], |
| 81 | + }, |
79 | 82 | "_queue": {},
|
80 | 83 | "_uuid": {"ignore_missing": True},
|
81 | 84 | "_zoneinfo": {"ignore_missing": True},
|
@@ -700,7 +703,10 @@ def copy_link_to_lib(p: pathlib.Path):
|
700 | 703 |
|
701 | 704 |
|
702 | 705 | def hack_props(
|
703 |
| - td: pathlib.Path, pcbuild_path: pathlib.Path, arch: str, static: bool, |
| 706 | + td: pathlib.Path, |
| 707 | + pcbuild_path: pathlib.Path, |
| 708 | + arch: str, |
| 709 | + static: bool, |
704 | 710 | ):
|
705 | 711 | # TODO can we pass props into msbuild.exe?
|
706 | 712 |
|
@@ -833,7 +839,10 @@ def hack_project_files(
|
833 | 839 | pcbuild_path = cpython_source_path / "PCbuild"
|
834 | 840 |
|
835 | 841 | hack_props(
|
836 |
| - td, pcbuild_path, build_directory, static=static, |
| 842 | + td, |
| 843 | + pcbuild_path, |
| 844 | + build_directory, |
| 845 | + static=static, |
837 | 846 | )
|
838 | 847 |
|
839 | 848 | # Our SQLite directory is named weirdly. This throws off version detection
|
@@ -1467,7 +1476,10 @@ def build_openssl_for_arch(
|
1467 | 1476 | "--prefix=/%s" % prefix,
|
1468 | 1477 | ],
|
1469 | 1478 | source_root,
|
1470 |
| - {**env, "CFLAGS": env.get("CFLAGS", "") + " /FS",}, |
| 1479 | + { |
| 1480 | + **env, |
| 1481 | + "CFLAGS": env.get("CFLAGS", "") + " /FS", |
| 1482 | + }, |
1471 | 1483 | )
|
1472 | 1484 |
|
1473 | 1485 | if "static" in profile:
|
@@ -2193,7 +2205,9 @@ def build_cpython(
|
2193 | 2205 | args.extend(["--include-idle", "--include-stable", "--include-tcltk"])
|
2194 | 2206 |
|
2195 | 2207 | exec_and_log(
|
2196 |
| - args, pcbuild_path, os.environ, |
| 2208 | + args, |
| 2209 | + pcbuild_path, |
| 2210 | + os.environ, |
2197 | 2211 | )
|
2198 | 2212 |
|
2199 | 2213 | # Install pip and setuptools.
|
@@ -2375,7 +2389,12 @@ def build_cpython(
|
2375 | 2389 | json.dump(python_info, fh, sort_keys=True, indent=4)
|
2376 | 2390 |
|
2377 | 2391 | dest_path = BUILD / (
|
2378 |
| - "cpython-%s-%s-%s.tar" % (entry["version"], target_triple, profile,) |
| 2392 | + "cpython-%s-%s-%s.tar" |
| 2393 | + % ( |
| 2394 | + entry["version"], |
| 2395 | + target_triple, |
| 2396 | + profile, |
| 2397 | + ) |
2379 | 2398 | )
|
2380 | 2399 |
|
2381 | 2400 | data = io.BytesIO()
|
@@ -2473,7 +2492,9 @@ def main():
|
2473 | 2492 | release_tag = release_tag_from_git()
|
2474 | 2493 |
|
2475 | 2494 | compress_python_archive(
|
2476 |
| - tar_path, DIST, "%s-%s" % (tar_path.stem, release_tag), |
| 2495 | + tar_path, |
| 2496 | + DIST, |
| 2497 | + "%s-%s" % (tar_path.stem, release_tag), |
2477 | 2498 | )
|
2478 | 2499 |
|
2479 | 2500 |
|
|
0 commit comments