Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/z/stever/bk/m5 --HG-- extra : convert_revision : dc9d0dc344389063f7b2026bd7cf737bdab3ee8b
This commit is contained in:
commit
e007aa59e3
1 changed files with 6 additions and 0 deletions
|
@ -45,6 +45,12 @@
|
|||
import sys
|
||||
import os
|
||||
|
||||
# Check for recent-enough Python version
|
||||
(major, minor) = sys.version_info[:2]
|
||||
if major < 2 or (major == 2 and minor < 3):
|
||||
print "Error: M5 requires Python 2.3 or later."
|
||||
sys.exit(1)
|
||||
|
||||
# The absolute path to the current directory (where this file lives).
|
||||
ROOT = Dir('.').abspath
|
||||
|
||||
|
|
Loading…
Reference in a new issue