deb-mock/deb_mock/__init__.py
robojerk 8c585e2e33
Some checks failed
Build Deb-Mock Package / build (push) Failing after 59s
Lint Code / Lint All Code (push) Failing after 2s
Test Deb-Mock Build / test (push) Failing after 41s
Add stable Python API and comprehensive environment management
- Add MockAPIClient and MockEnvironment for external integration
- Implement EnvironmentManager with full lifecycle support
- Enhance plugin system with registry and BasePlugin class
- Add comprehensive test suite and documentation
- Include practical usage examples and plugin development guide
2025-09-04 10:04:16 -07:00

39 lines
1 KiB
Python

"""
Deb-Mock: A low-level utility to create clean, isolated build environments for Debian packages
This tool is a direct functional replacement for Fedora's Mock, adapted specifically
for Debian-based ecosystems.
"""
__version__ = "0.1.0"
__author__ = "Deb-Mock Team"
__email__ = "team@deb-mock.org"
from .chroot import ChrootManager
from .config import Config
from .core import DebMock
from .sbuild import SbuildWrapper
from .api import MockAPIClient, MockEnvironment, MockConfigBuilder, create_client, create_config, quick_build
from .environment_manager import EnvironmentManager, EnvironmentInfo, BuildResult, create_environment_manager
__all__ = [
# Core classes
"DebMock",
"Config",
"ChrootManager",
"SbuildWrapper",
# API classes
"MockAPIClient",
"MockEnvironment",
"MockConfigBuilder",
"EnvironmentManager",
"EnvironmentInfo",
"BuildResult",
# Convenience functions
"create_client",
"create_config",
"create_environment_manager",
"quick_build",
]