File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1045,21 +1045,18 @@ def collect_python_build_artifacts(
10451045 pcbuild_path : pathlib .Path ,
10461046 out_dir : pathlib .Path ,
10471047 python_majmin : str ,
1048- pcbuild_directory : str ,
1048+ arch : str ,
10491049 config : str ,
10501050 openssl_entry : str ,
10511051 zlib_entry : str ,
10521052 freethreaded : bool ,
10531053):
10541054 """Collect build artifacts from Python.
1055+
10551056 Copies them into an output directory and returns a data structure describing
10561057 the files.
10571058 """
1058- arch = pcbuild_directory
1059- # Python 3.15 suffixes the directory with 't' for free-threading
1060- if arch .endswith ("t" ):
1061- arch = arch .removesuffix ("t" )
1062- outputs_path = pcbuild_path / pcbuild_directory
1059+ outputs_path = pcbuild_path / arch
10631060 intermediates_path = (
10641061 pcbuild_path / "obj" / ("%s%s_%s" % (python_majmin , pcbuild_directory , config ))
10651062 )
You can’t perform that action at this time.
0 commit comments