Submitter | phabricator |
---|---|
Date | Nov. 5, 2020, 4:13 p.m. |
Message ID | <522bdbfc0434ff2cad2179c2b0514953@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/47547/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -5,7 +5,16 @@ # % make PREFIX=/opt/ install export PREFIX=/usr/local + +# Default to Python 3. +# +# Windows ships Python 3 as `python.exe`. +ifeq ($(OS),Windows_NT) PYTHON?=python +else +PYTHON?=python3 +endif + $(eval HGROOT := $(shell pwd)) HGPYTHONS ?= $(HGROOT)/build/pythons PURE=