Skip to content

Commit b867287

Browse files
committed
Revert "us pcbuild_directory on windows"
This reverts commit 0963bde.
1 parent fe7f317 commit b867287

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

cpython-windows/build.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff 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
)

0 commit comments

Comments
 (0)