diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2017-03-07 09:31:15 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-03-31 13:40:41 -0700 |
commit | a8bcc23fe7138a35c902e41f983408de6dbc874d (patch) | |
tree | a1277dd2c5bee3d4cbb45b4714132409f6e80073 /bin | |
parent | 3f21f2b08810b39a17db85cca095b67efc4a249d (diff) | |
download | spack-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-x | bin/spack | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |