def createproject():
os.chdir(build_dir)<EOL>if windows_build:<EOL><INDENT>command = '<STR_LIT>'.format("<STR_LIT:win32>" if bitness==<NUM_LIT:32> else "<STR_LIT>", sys.executable)<EOL>os.system(command)<EOL>if bitness==<NUM_LIT:64>:<EOL><INDENT>for line in fileinput.input("<STR_LIT>", inplace=<NUM_LIT:1>):<EOL><INDENT>print(line.replace("<STR_LIT>", "<STR_LIT>"))<EOL><DEDENT>for line in fileinput.input("<STR_LIT>", inplace=<NUM_LIT:1>):<EOL><INDENT>print(line.replace("<STR_LIT>", "<STR_LIT>"))<EOL><DEDENT><DEDENT><DEDENT>else:<EOL><INDENT>rv = os.system("<STR_LIT>".format(sys.executable))<EOL>if int(rv) > <NUM_LIT:0>: sys.exit(<NUM_LIT:1>)<EOL><DEDENT>
compile for the platform we are running on