Mercurial > hg
changeset 47882:1e6cb23ce6da stable
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
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 26 Aug 2021 17:39:11 -0700 |
parents | 39ab4c2f38b4 |
children | feb1b2b8eeec |
files | contrib/packaging/hgpackaging/pyoxidizer.py |
diffstat | 1 files changed, 1 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/packaging/hgpackaging/pyoxidizer.py Wed Aug 25 19:33:25 2021 -0700 +++ b/contrib/packaging/hgpackaging/pyoxidizer.py Thu Aug 26 17:39:11 2021 -0700 @@ -136,13 +136,8 @@ 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():