builds, initial testing builds, packaging, ci workflow
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
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
This commit is contained in:
parent
0e80b08b0a
commit
45c124637b
25 changed files with 1994 additions and 6 deletions
27
bin/mock
Executable file
27
bin/mock
Executable file
|
|
@ -0,0 +1,27 @@
|
|||
#!/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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue