From 3e78d5be30731d8e92eb00de0ed6e99647a69e95 Mon Sep 17 00:00:00 2001 From: kmarsteller Date: Tue, 7 Apr 2015 17:02:44 -0400 Subject: [PATCH] Fix installer from 'python' to sys.executable. --- install_openmdao_dev.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install_openmdao_dev.py b/install_openmdao_dev.py index 531d22a070..2f2e0972e0 100644 --- a/install_openmdao_dev.py +++ b/install_openmdao_dev.py @@ -33,7 +33,8 @@ def check_dist(): return dist def install(dist): - cmd =['python'] + #call the appropriate installer with the python that ran this script. + cmd = [sys.executable] if dist == "Anaconda": cmd.append('openmdao.devtools/src/openmdao/devtools/conda_build.py') cmd.append('dev')