summaryrefslogtreecommitdiff
path: root/xnt/tasks.py
diff options
context:
space:
mode:
authorkennyballou <kballou@onyx.boisestate.edu>2012-10-29 17:40:19 -0600
committerkballou <kballou@onyx.boisestate.edu>2012-10-29 17:40:19 -0600
commit02ccc89b97b5d9877389b655ffb6ca7403a8a743 (patch)
tree5c13d0a8d1fece071460672b52213766bbaac7b6 /xnt/tasks.py
parent90e166e40a17d1c1ecb9c481c7103032d5338acf (diff)
downloadxnt-02ccc89b97b5d9877389b655ffb6ca7403a8a743.tar.gz
xnt-02ccc89b97b5d9877389b655ffb6ca7403a8a743.tar.xz
Fix ``setup`` task
Diffstat (limited to 'xnt/tasks.py')
-rw-r--r--xnt/tasks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xnt/tasks.py b/xnt/tasks.py
index 0bed870..3aee69b 100644
--- a/xnt/tasks.py
+++ b/xnt/tasks.py
@@ -110,7 +110,7 @@ def setup(commands, dir=""):
param: commands - list of commands and options to run/ append
param: dir - (optional) directory to run from
"""
- cmd = ["python" + str(sys.version_info[0]), "setup.py",]
+ cmd = [sys.executable, "setup.py",]
for c in commands:
cmd.append(c)
cwd = os.getcwd()