mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-11 01:41:57 -04:00
nuitka build: also use dist/binary for output
This commit is contained in:
parent
2768548032
commit
fb53f44f0f
1 changed files with 2 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
set -euo pipefail
|
||||
|
||||
OUTPUT_DIR="build"
|
||||
OUTPUT_DIR="dist/binary"
|
||||
OUTPUT_FILENAME="borg-nuitka.exe" # .exe does NOT mean windows here
|
||||
SRC_DIR="src/borg"
|
||||
|
||||
|
|
@ -13,6 +13,7 @@ echo "Building single-file binary of borgbackup..."
|
|||
# We use --assume-yes-for-downloads to avoid interactive prompts in automated runs.
|
||||
# We set PYTHONPATH=src to ensure the local version of borg is used.
|
||||
# We include cffi to avoid runtime ModuleNotFoundError in argon2-cffi.
|
||||
mkdir -p $OUTPUT_DIR
|
||||
PYTHONPATH=src python -m nuitka \
|
||||
--mode=onefile \
|
||||
--assume-yes-for-downloads \
|
||||
|
|
|
|||
Loading…
Reference in a new issue