def _native_package_type():
    distribution_name = CURRENT_DISTRIBUTION.name.lower()

    for package_type, distribution_names in PACKAGE_TYPE_MAP.items():
        if distribution_name.lower() in distribution_names:
            return package_type
    else:
        raise ValueError("Unknown distribution.", distribution_name)
:return: The ``bytes`` name of the native package format for this platform.
dataset/ETHPy150Open ClusterHQ/flocker/admin/packaging.py/_native_package_type