def build_args(cmd, src, dst):
    """
        Build arguments list for passing to subprocess.call_check

        :param cmd str: Command string to interpolate src and dst filepaths into.
            Typically the output of `config.Config.uic_command` or `config.Config.rcc_command`.
        :param src str: Source filepath.
        :param dst str: Destination filepath.
    """
    cmd = cmd % (quote(src), quote(dst))
    args = shlex.split(cmd)

    return [arg for arg in args if arg]
def build_args ( cmd , src , dst ) : cmd = cmd % ( quote ( src ) , quote ( dst ) ) args = shlex . split ( cmd ) return [ arg for arg in args if arg ]
Build arguments list for passing to subprocess.call_check

        :param cmd str: Command string to interpolate src and dst filepaths into.
            Typically the output of `config.Config.uic_command` or `config.Config.rcc_command`.
        :param src str: Source filepath.
        :param dst str: Destination filepath.