summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2017-03-07 09:31:15 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2017-03-31 13:40:41 -0700
commita8bcc23fe7138a35c902e41f983408de6dbc874d (patch)
treea1277dd2c5bee3d4cbb45b4714132409f6e80073 /bin
parent3f21f2b08810b39a17db85cca095b67efc4a249d (diff)
downloadspack-a8bcc23fe7138a35c902e41f983408de6dbc874d.tar.gz
spack-a8bcc23fe7138a35c902e41f983408de6dbc874d.tar.bz2
spack-a8bcc23fe7138a35c902e41f983408de6dbc874d.tar.xz
spack-a8bcc23fe7138a35c902e41f983408de6dbc874d.zip
Spack works with Python 3
- Update version guard in spack script to allow python 3 - Update min required version in the docs
Diffstat (limited to 'bin')
-rwxr-xr-xbin/spack4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/spack b/bin/spack
index f33d219b8b..c737a0f178 100755
--- a/bin/spack
+++ b/bin/spack
@@ -27,9 +27,9 @@
from __future__ import print_function
import sys
-if (sys.version_info[0] > 2) or (sys.version_info[:2] < (2, 6)):
+if sys.version_info[:2] < (2, 6):
v_info = sys.version_info[:3]
- sys.exit("Spack requires Python 2.6 or 2.7. "
+ sys.exit("Spack requires Python 2.6 or higher."
"This is Python %d.%d.%d." % v_info)
import os