mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-25 03:53:18 +03:00
*really* upgraded python requirement to 2.7 (2.4 is missing ZipFile.extractall)
This commit is contained in:
parent
99ba56c361
commit
eb93fc5620
3
hm.py
3
hm.py
@ -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'
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user