deb-mock/bin/mock
robojerk 45c124637b
Some checks failed
Comprehensive CI/CD Pipeline / Build and Test (push) Failing after 2m1s
Comprehensive CI/CD Pipeline / Security Audit (push) Successful in 46s
Comprehensive CI/CD Pipeline / Package Validation (push) Successful in 1m7s
Comprehensive CI/CD Pipeline / Status Report (push) Has been skipped
builds, initial testing builds, packaging, ci workflow
2025-09-04 12:55:35 -07:00

27 lines
756 B
Python
Executable file

#!/usr/bin/env python3
"""
mock - Debian package build environment manager
Main executable entry point
"""
import sys
import os
# Add the deb_mock module to the Python path
sys.path.insert(0, '/usr/lib/python3/dist-packages')
sys.path.insert(0, '/home/joe/.local/lib/python3.13/site-packages')
# Also add current directory for development
current_dir = os.path.dirname(os.path.abspath(__file__))
project_root = os.path.dirname(current_dir)
sys.path.insert(0, project_root)
try:
from deb_mock.cli import main
if __name__ == '__main__':
main()
except ImportError as e:
print(f"Error importing deb_mock: {e}")
print("Please ensure mock is properly installed")
print("You can also run: python3 -m deb_mock.cli")
sys.exit(1)