*really* upgraded python requirement to 2.7 (2.4 is missing ZipFile.extractall)

This commit is contained in:
Nick Bolton 2013-04-04 17:26:11 +00:00
parent 99ba56c361
commit eb93fc5620
2 changed files with 3 additions and 2 deletions

3
hm.py
View File

@ -43,8 +43,9 @@ from build import toolchain
from getopt import gnu_getopt from getopt import gnu_getopt
# minimum required version # minimum required version
# 2.7 needed for ZipFile.extractall
requiredMajor = 2 requiredMajor = 2
requiredMinor = 3 requiredMinor = 7
# options used by all commands # options used by all commands
globalOptions = 'v' globalOptions = 'v'

View File

@ -19,7 +19,7 @@
import sys, os, ConfigParser, shutil, re, ftputil, zipfile import sys, os, ConfigParser, shutil, re, ftputil, zipfile
from generators import Generator, EclipseGenerator, MakefilesGenerator from generators import Generator, EclipseGenerator, MakefilesGenerator
if sys.version_info >= (2, 7): if sys.version_info >= (2, 4):
import subprocess import subprocess
class InternalCommands: class InternalCommands: