scons py2/py3 compatibility

LT1AB
piyushrpt 2019-02-10 10:38:21 -08:00
parent 94cb05e968
commit 0bb5a4d64a
1 changed files with 1 additions and 0 deletions

View File

@ -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: