From 962b8b7e3a6e6d57edebaa716f3daa2ec87fb42b Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Tue, 26 Jul 2016 13:30:58 -0400 Subject: [PATCH 1/2] Pin to Python 2 in the Makefile We're blocking on Aspen/Pando to upgrade to Python 3. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8cf03e8..a737639 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ env: unzip -q -d vendor/virtualenv vendor/virtualenv*.whl - python ./vendor/virtualenv/virtualenv.py \ + python2 ./vendor/virtualenv/virtualenv.py \ --prompt="[mongs] " \ ./env/ rm -R vendor/virtualenv From 9d0fb6e5bf8f2df55c0b545b9c66b15fb9f3b7c6 Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Tue, 26 Jul 2016 15:43:28 -0400 Subject: [PATCH 2/2] Use `python virtualenv --python=python2.7` instead This way the parent Python can be either 2 or 3. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a737639..6f7b490 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ env: unzip -q -d vendor/virtualenv vendor/virtualenv*.whl - python2 ./vendor/virtualenv/virtualenv.py \ + python ./vendor/virtualenv/virtualenv.py --python=python2.7 \ --prompt="[mongs] " \ ./env/ rm -R vendor/virtualenv