Fix build of standalone binary.

This commit is contained in:
Dan Helfman
2026-04-20 10:28:57 -07:00
parent d085fc2398
commit ac9c8bb644
+2 -2
View File
@@ -44,9 +44,9 @@ scripts/export-docs-from-image
docs_path=dist/borgmatic-docs.tar.gz
# Build stand-alone binary.
uv venv --clear binary
uv venv --python 3.13 --clear binary
source binary/bin/activate
uv pip install -r binary_requirements.txt
uv pip install -r binary_requirements.txt nuitka[onefile]
nuitka --mode=onefile --enable-plugin=upx --include-package-data=borgmatic --include-data-dir=borgmatic.egg-info=borgmatic.egg-info --include-package=borgmatic.hooks --include-package=apprise --no-deployment-flag=self-execution borgmatic/commands/borgmatic.py
deactivate
rm -fr binary borgmatic.build borgmatic.dist