@@ -830,7 +830,7 @@ def hack_project_files(
830
830
831
831
copy_link_to_lib (pythoncore_proj )
832
832
833
- # We don't need to produce pythonw.exe, python_uwp.exe, venvlauncher.exe,
833
+ # We don't need to produce pythonw.exe and python_uwp.exe
834
834
# and their *w variants. Or the python3.dll, pyshellext, or pylauncher.
835
835
# Cut them from the build to save time and so their presence doesn't
836
836
# interfere with packaging up the build artifacts.
@@ -847,16 +847,6 @@ def hack_project_files(
847
847
b'<Projects2 Include="python_uwp.vcxproj;pythonw_uwp.vcxproj" Condition="$(IncludeUwp)" />' ,
848
848
b"" ,
849
849
)
850
- static_replace_in_file (
851
- pcbuild_proj ,
852
- b'<Projects Include="venvlauncher.vcxproj;venvwlauncher.vcxproj" />' ,
853
- b"" ,
854
- )
855
- static_replace_in_file (
856
- pcbuild_proj ,
857
- b'<Projects2 Include="venvlauncher.vcxproj;venvwlauncher.vcxproj" />' ,
858
- b"" ,
859
- )
860
850
if static :
861
851
static_replace_in_file (
862
852
pcbuild_proj , b'<Projects Include="python3dll.vcxproj" />' , b""
@@ -1054,18 +1044,6 @@ def hack_source_files(source_path: pathlib.Path, static: bool):
1054
1044
b"" ,
1055
1045
)
1056
1046
1057
- # We don't produce venvlauncher executables.
1058
- static_replace_in_file (
1059
- layout_main ,
1060
- b'yield from in_build("venvlauncher.exe", "Lib/venv/scripts/nt/", "python")' ,
1061
- b"pass" ,
1062
- )
1063
- static_replace_in_file (
1064
- layout_main ,
1065
- b'yield from in_build("venvwlauncher.exe", "Lib/venv/scripts/nt/", "pythonw")' ,
1066
- b"pass" ,
1067
- )
1068
-
1069
1047
1070
1048
def run_msbuild (
1071
1049
msbuild : pathlib .Path ,
@@ -1257,6 +1235,9 @@ def collect_python_build_artifacts(
1257
1235
ignore_projects = {
1258
1236
# We don't care about build artifacts for the python executable.
1259
1237
"python" ,
1238
+ # Don't care about venvlauncher executable.
1239
+ "venvlauncher" ,
1240
+ "venvwlauncher" ,
1260
1241
# Test extensions.
1261
1242
"_ctypes_test" ,
1262
1243
"_testbuffer" ,
0 commit comments