mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-04 13:44:04 +08:00
This also includes `from __future__ import absolute_import` in every file so that the imports are consistent in Python 2 and 3. The Python 2 tests fail without this.
13 lines
345 B
Python
13 lines
345 B
Python
# -*- coding: utf-8 -*-
|
|
# SPDX-License-Identifier: MIT
|
|
from __future__ import absolute_import
|
|
|
|
import pkg_resources
|
|
|
|
from module_build_service.builder.base import GenericBuilder
|
|
|
|
__all__ = ["GenericBuilder"]
|
|
|
|
for entrypoint in pkg_resources.iter_entry_points("mbs.builder_backends"):
|
|
GenericBuilder.register_backend_class(entrypoint.load())
|