tasks/build_tags.py
def filter_incompatible_tags(include, arch="x64"):
    """
    Filter out tags incompatible with the platform.
    include can be a list or a set.
    """

    exclude = set()
    if not sys.platform.startswith("linux"):
        exclude = exclude.union(LINUX_ONLY_TAGS)

    if sys.platform == "win32":
        exclude = exclude.union(WINDOWS_EXCLUDE_TAGS)

    if sys.platform == "win32" and arch == "x86":
        exclude = exclude.union(WINDOWS_32BIT_EXCLUDE_TAGS)

    return get_build_tags(include, exclude)

    Filter out tags incompatible with the platform.
    include can be a list or a set.
    
Filter out tags incompatible with the platform.
include can be a list or a set.
Filter out tags incompatible with the platform . include can be a list or a set .
def filter_incompatible_tags(include, arch="x64"):
    exclude = set()
    if not sys.platform.startswith("linux"):
        exclude = exclude.union(LINUX_ONLY_TAGS)
    if sys.platform == "win32":
        exclude = exclude.union(WINDOWS_EXCLUDE_TAGS)
    if sys.platform == "win32" and arch == "x86":
        exclude = exclude.union(WINDOWS_32BIT_EXCLUDE_TAGS)
    return get_build_tags(include, exclude)
def filter_incompatible_tags ( include , arch = "x64" ) : exclude = set ( ) if not sys . platform . startswith ( "linux" ) : exclude = exclude . union ( LINUX_ONLY_TAGS ) if sys . platform == "win32" : exclude = exclude . union ( WINDOWS_EXCLUDE_TAGS ) if sys . platform == "win32" and arch == "x86" : exclude = exclude . union ( WINDOWS_32BIT_EXCLUDE_TAGS ) return get_build_tags ( include , exclude )
Filter out tags incompatible with the platform.
Filter out tags incompatible with the platform .
"""
    Filter out tags incompatible with the platform.
    include can be a list or a set.
    """
include
arch