From f960e15cbdd6b2a8acc6cb6d2f3eb30c59fa0f91 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 3 Jun 2018 10:27:35 -0400 Subject: [PATCH] Allow config to use different python executable --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6221cdd..925bc09 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,10 @@ +PYTHON=python + css: - python -c "import sass; sass.compile(dirname=('sass', 'static/css'), output_style='compressed')" + $(PYTHON) -c "import sass; sass.compile(dirname=('sass', 'static/css'), output_style='compressed')" password: - python -c "import bcrypt; from getpass import getpass; print(bcrypt.hashpw(getpass().encode('utf-8'), bcrypt.gensalt()).decode('utf-8'))" + $(PYTHON) -c "import bcrypt; from getpass import getpass; print(bcrypt.hashpw(getpass().encode('utf-8'), bcrypt.gensalt()).decode('utf-8'))" docker: mypy . --ignore-missing-imports