Submitter | phabricator |
---|---|
Date | Nov. 22, 2019, 3:02 a.m. |
Message ID | <95ac0b84f3c20ebaf3506337c6ed1a7d@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/43404/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -5,7 +5,14 @@ # % make PREFIX=/opt/ install export PREFIX=/usr/local -PYTHON?=python + +# There is no python3.exe on Windows. So use the py.exe wrapper. +ifeq($(OS),Windows_NT) +PYTHON?=py -3 +else +PYTHON?=python3 +endif + $(eval HGROOT := $(shell pwd)) HGPYTHONS ?= $(HGROOT)/build/pythons PURE=