

def build_pyqt(layout, debug, profile):
    if os.path.isfile(PYQT_LICENSE_FILE):
        shutil.copyfile(PYQT_LICENSE_FILE, os.path.join('sip', 'pyqt-commercial.sip'))
    configure_ng_args = ['--assume-shared', '--bindir', layout['bin'], '--concatenate', '--concatenate-split=4', '--confirm-license', '--destdir', layout['python'], '--no-designer-plugin', '--no-docstrings', '--no-sip-files', '--sip', os.path.join(layout['bin'], ('sip' + EXECUTABLE_EXT)), '--sipdir', layout['sip'], '--verbose']
    if (('pyqt' in profile) and ('common' in profile['pyqt'])):
        configure_ng_args += profile['pyqt']['common']
    set_pyqt_debug_flags(debug, configure_ng_args)
    configure_ng(*configure_ng_args)
    make()
    make('install')

dataset/ETHPy150Open develersrl/qt-pyqt-sdk-builder/build.py build_pyqt/original