Files
mprahl 81f2bffdda Rearrange the imports to meet the style guide
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.
2020-03-03 14:48:47 -05:00

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())