diff Makefile @ 29535:da1848f07c6a

osx: explicitly build hg with /usr/bin/python2.7 This should help avoid creating a package that depends on a custom Python, as happened when I built a package for 3.8.
author Augie Fackler <augie@google.com>
date Wed, 13 Jul 2016 10:39:33 -0400
parents cbf282da720a
children 17b3309bfdff
line wrap: on
line diff
--- a/Makefile	Wed Jul 13 11:26:44 2016 -0400
+++ b/Makefile	Wed Jul 13 10:39:33 2016 -0400
@@ -156,7 +156,7 @@
 # Packaging targets
 
 osx:
-	python setup.py install --optimize=1 \
+	/usr/bin/python2.7 setup.py install --optimize=1 \
 	  --root=build/mercurial/ --prefix=/usr/local/ \
 	  --install-lib=/Library/Python/2.7/site-packages/
 	make -C doc all install DESTDIR="$(PWD)/build/mercurial/"