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
--- 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,