Fix multi-package build: Add missing build module dependency
All checks were successful
Comprehensive CI/CD Pipeline / Build and Test (push) Successful in 1m29s
Comprehensive CI/CD Pipeline / Security Audit (push) Successful in 42s
Comprehensive CI/CD Pipeline / Package Validation (push) Successful in 55s
Comprehensive CI/CD Pipeline / Status Report (push) Successful in 19s
All checks were successful
Comprehensive CI/CD Pipeline / Build and Test (push) Successful in 1m29s
Comprehensive CI/CD Pipeline / Security Audit (push) Successful in 42s
Comprehensive CI/CD Pipeline / Package Validation (push) Successful in 55s
Comprehensive CI/CD Pipeline / Status Report (push) Successful in 19s
- Add build module check and installation in Makefile - Fix externally-managed-environment error by adding --break-system-packages - Now all 6 packages build successfully: - deb-mock (main package) - deb-mock-cache (cache utilities) - deb-mock-configs (configuration files) - deb-mock-dev (development tools) - deb-mock-filesystem (filesystem layout) - deb-mock-plugins (plugin system) This resolves the issue where only 1 package was being built instead of 6.
This commit is contained in:
parent
80158922e1
commit
70df200863
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
|
@ -9,7 +9,8 @@ all: install
|
||||||
# Install the package
|
# Install the package
|
||||||
install:
|
install:
|
||||||
@echo "Installing deb-mock..."
|
@echo "Installing deb-mock..."
|
||||||
@python3 -c "import setuptools" 2>/dev/null || (echo "Installing setuptools..." && python3 -m pip install setuptools wheel build)
|
@python3 -c "import setuptools" 2>/dev/null || (echo "Installing setuptools..." && python3 -m pip install setuptools wheel build --break-system-packages)
|
||||||
|
@python3 -c "import build" 2>/dev/null || (echo "Installing build..." && python3 -m pip install build --break-system-packages)
|
||||||
@python3 -m build --wheel
|
@python3 -m build --wheel
|
||||||
@python3 -m pip install dist/*.whl --break-system-packages
|
@python3 -m pip install dist/*.whl --break-system-packages
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue