Remove versioned executables from non-APPX packages (GH-15237)
(cherry picked from commit c1aeb292d206e12b900dc4f7f816246c3a57c2ac)
Co-authored-by: Steve Dower <steve.dower@python.org>
diff --git a/PC/layout/main.py b/PC/layout/main.py
index 07b7e6d..e598581 100644
--- a/PC/layout/main.py
+++ b/PC/layout/main.py
@@ -159,9 +159,6 @@
yield from in_build("python_uwp.exe", new_name="python")
yield from in_build("pythonw_uwp.exe", new_name="pythonw")
else:
- yield from in_build("python.exe", new_name="python{}".format(VER_DOT))
- yield from in_build("pythonw.exe", new_name="pythonw{}".format(VER_DOT))
- # For backwards compatibility, but we don't reference these ourselves.
yield from in_build("python.exe", new_name="python")
yield from in_build("pythonw.exe", new_name="pythonw")