changeset 44242:847e582f3cc9 stable

packaging: make the path to Win32 requirements absolute when building WiX Otherwise this broke automation when not launched from `contrib/packaging`. Differential Revision: https://phab.mercurial-scm.org/D8068
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 03 Feb 2020 20:12:47 -0500
parents c002d504ff11
children 238790674d69
files contrib/packaging/hgpackaging/wix.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/packaging/hgpackaging/wix.py	Mon Feb 03 11:07:34 2020 -0500
+++ b/contrib/packaging/hgpackaging/wix.py	Mon Feb 03 20:12:47 2020 -0500
@@ -343,7 +343,9 @@
     dist_dir = source_dir / 'dist'
     wix_dir = source_dir / 'contrib' / 'packaging' / 'wix'
 
-    requirements_txt = 'requirements_win32.txt'
+    requirements_txt = (
+        source_dir / 'contrib' / 'packaging' / 'requirements_win32.txt'
+    )
 
     build_py2exe(
         source_dir,