def start_project():
    try:
        scaffolding = collect_project_information()
    except __HOLE__:
        print_text_line('\nCanceled.')
        return 1

    descriptor = scaffolding.render_build_descriptor()

    with open('build.py', 'w') as build_descriptor_file:
        build_descriptor_file.write(descriptor)

    scaffolding.set_up_project()
    _create_setup_file()
    return 0
dataset/ETHPy150Open pybuilder/pybuilder/src/main/python/pybuilder/scaffolding.py/start_project