scons py2/py3 compatibility
parent
94cb05e968
commit
0bb5a4d64a
|
@ -35,6 +35,7 @@ import sys
|
||||||
if sys.version_info[0] == 2:
|
if sys.version_info[0] == 2:
|
||||||
print('Building with scons from python2')
|
print('Building with scons from python2')
|
||||||
else:
|
else:
|
||||||
|
raw_input = input
|
||||||
print('Building with scons from python3')
|
print('Building with scons from python3')
|
||||||
|
|
||||||
if 'SCONS_CONFIG_DIR' in os.environ:
|
if 'SCONS_CONFIG_DIR' in os.environ:
|
||||||
|
|
Loading…
Reference in New Issue