def METHOD_NAME():
    pip_version = parse_version(get_distribution('pip').version)
    package_set = None
    if pip_version >= parse_version('18') and pip_version < parse_version('19'):
        return create_package_set_from_installed()
    elif pip_version >= parse_version('19'):
        package_set = create_package_set_from_installed()[0]
    return package_set