From 443fa93fdca68ebf30074f0ccc19f24f8ac470e7 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Wed, 8 Aug 2012 18:19:24 +0100 Subject: [PATCH] Use Python 3 by default with "make install" You can still use "python2 setup.py install" to continue with Python 2. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7a75a53..cfd0f97 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -PYTHON=python +PYTHON=$(shell which python3 || echo python) MO = $(shell find share/locale -name '*.po' | sort | sed -e 's/\.po/\.mo/') PY = $(shell find zeroinstall -name '*.py' | sort) @@ -13,7 +13,7 @@ all: translations translations: $(MO) install: all - $(PYTHON) setup.py install + $(PYTHON) setup.py install --force %.mo: %.po msgfmt -o "$@" "$<" -- 2.11.4.GIT