Patchwork D9937: packaging: replace a documentation reference to `python3` on Windows

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

Comments

phabricator - Feb. 1, 2021, 1:05 a.m.
mharbison72 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  Sadly, there's not `python3.exe` on Windows.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

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

AFFECTED FILES
  contrib/packaging/inno/readme.rst
  contrib/packaging/wix/readme.rst

CHANGE DETAILS




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

Patch

diff --git a/contrib/packaging/wix/readme.rst b/contrib/packaging/wix/readme.rst
--- a/contrib/packaging/wix/readme.rst
+++ b/contrib/packaging/wix/readme.rst
@@ -40,7 +40,7 @@ 
 Next, invoke ``packaging.py`` to produce an MSI installer. You will need
 to supply the path to the Python interpreter to use.::
 
-   $ python3 contrib\packaging\packaging.py \
+   $ py -3 contrib\packaging\packaging.py \
       wix --python c:\python27\python.exe
 
 .. note::
diff --git a/contrib/packaging/inno/readme.rst b/contrib/packaging/inno/readme.rst
--- a/contrib/packaging/inno/readme.rst
+++ b/contrib/packaging/inno/readme.rst
@@ -34,7 +34,7 @@ 
 Next, invoke ``packaging.py`` to produce an Inno installer. You will
 need to supply the path to the Python interpreter to use.::
 
-   $ python3.exe contrib\packaging\packaging.py \
+   $ py -3 contrib\packaging\packaging.py \
        inno --python c:\python27\python.exe
 
 .. note::