if 'linux' == target_os :
# Check for Boost libraries in /usr/boost
- print 'TODO: Perform platform check for linux'
+ print('TODO: Perform platform check for linux')
raise SCons.Errors.EnvironmentError('Unsupported platform')
elif target_os in ['windows']:
if os.path.exists(boost_zip_file):
boost_zip = boost_zip_file
else:
- print '*** Downloading Boost zip file (> 100MB). Please wait... ***'
+ print('*** Downloading Boost zip file (> 100MB). Please wait... ***')
boost_zip = env.Download(boost_zip_file, boost_url)
# Unzip boost
- print '*** Unpacking boost %s zip file ... ***' % boost_version
+ print('*** Unpacking boost %s zip file ... ***' % boost_version)
env.UnpackAll(boost_dir, boost_zip)
# Rename from boost_1_60_0 -> boost
# Sanity check, in case the above method didn't work
if not os.path.exists(boost_bootstrap):
- print '''
+ print('''
*********************************** Error: ****************************************
* Please download boost from the following website:
*
* ''' + boost_bootstrap + '''
*
***********************************************************************************
-'''
+''')
Exit(1)
elif target_os in ['android']: