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
    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)

    # Build
    configure_ng(*configure_ng_args)
    make()
    make('install')

#
# Utility methods
#
dataset/ETHPy150Open develersrl/qt-pyqt-sdk-builder/build.py/build_pyqt/operator `+` -> `%`