Files
mprahl 8c6cfb702d Use small license headers in the Python files
This also removes the outdated comments around authorship of each
file. If there is still interest in this information, one can just
look at the git history.
2019-10-03 08:47:24 -04:00

14 lines
529 B
Python

# -*- coding: utf-8 -*-
# SPDX-License-Identifier: MIT
import pkg_resources
from module_build_service.resolver.base import GenericResolver
# NOTE: if you are adding a new resolver to MBS please note that you also have to add
# a new resolver to your setup.py and update you egg-info
for entrypoint in pkg_resources.iter_entry_points("mbs.resolver_backends"):
GenericResolver.register_backend_class(entrypoint.load())
if not GenericResolver.backends:
raise ValueError("No resolver plugins are installed or available.")