# HG changeset patch # User Gregory Szorc # Date 2021-08-27 00:39:11 # Node ID 1e6cb23ce6da33c8be3d9ce4207aaf8f0f2800fe # Parent 39ab4c2f38b46b59722ff47c5be36e3005dce986 packaging: reference proper output directory 9438e9b7321a changed the name of the PyOxidizer target, which changed the name of the output directory. The code changed by this patch wasn't properly updated by that changeset. This resulted in a run-time failure due to trying to read from a non-existent directory. This change should fix the building of Python 3 Inno installers. Differential Revision: https://phab.mercurial-scm.org/D11356 diff --git a/contrib/packaging/hgpackaging/pyoxidizer.py b/contrib/packaging/hgpackaging/pyoxidizer.py --- a/contrib/packaging/hgpackaging/pyoxidizer.py +++ b/contrib/packaging/hgpackaging/pyoxidizer.py @@ -136,13 +136,8 @@ def create_pyoxidizer_install_layout( run_pyoxidizer(source_dir, build_dir, target_triple) - if "windows" in target_triple: - target = "app_windows" - else: - target = "app_posix" - build_dir = ( - source_dir / "build" / "pyoxidizer" / target_triple / "release" / target + source_dir / "build" / "pyoxidizer" / target_triple / "release" / "app" ) if out_dir.exists():