packaging: make the path to Win32 requirements absolute when building WiX stable
authorMatt Harbison <matt_harbison@yahoo.com>
Mon, 03 Feb 2020 20:12:47 -0500
branchstable
changeset 44159 847e582f3cc9
parent 44158 c002d504ff11
child 44160 238790674d69
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
contrib/packaging/hgpackaging/wix.py
--- 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,