Patchwork D8068: packaging: make the path to Win32 requirements absolute when building WiX

login
register
mail settings
Submitter phabricator
Date Feb. 4, 2020, 1:21 a.m.
Message ID <differential-rev-PHID-DREV-uiwtgo7ofkynfpjq7rgs-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/44911/
State Superseded
Headers show

Comments

phabricator - Feb. 4, 2020, 1:21 a.m.
mharbison72 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  Otherwise this broke automation when not launched from `contrib/packaging`.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

REVISION DETAIL
  https://phab.mercurial-scm.org/D8068

AFFECTED FILES
  contrib/packaging/hgpackaging/wix.py

CHANGE DETAILS




To: mharbison72, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/contrib/packaging/hgpackaging/wix.py b/contrib/packaging/hgpackaging/wix.py
--- a/contrib/packaging/hgpackaging/wix.py
+++ b/contrib/packaging/hgpackaging/wix.py
@@ -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,