mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-08 15:53:18 +08:00
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.
14 lines
529 B
Python
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.")
|