aboutsummaryrefslogtreecommitdiff
path: root/producer.sh
diff options
context:
space:
mode:
authorhistoria <historiavg@proton.me>2026-09-11 17:41:33 -0400
committerhistoria <historiavg@proton.me>2026-09-11 17:41:33 -0400
commit077c82d9614328ff267632298da6c88009313337 (patch)
tree412f9e2d60c320e0c014eda45e76e36205b526ed /producer.sh
parent84dd2d068317998f6fb59400c534ef5be6b51b53 (diff)
downloadproducer-077c82d9614328ff267632298da6c88009313337.tar.gz
fix: consistently rename to producer
Diffstat (limited to 'producer.sh')
-rwxr-xr-xproducer.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/producer.sh b/producer.sh
index 3c792f3..fd274f2 100755
--- a/producer.sh
+++ b/producer.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-# Producer: the single entry point for VoiceForge. The first run bootstraps a
+# Producer: the single entry point for Producer. The first run bootstraps a
# fully contained runtime under lib/ (managed Python 3.13, dependencies,
# bundled FFmpeg, and later the AI environments and model weights); every run
# then executes the program from that runtime. Nothing is installed outside
@@ -33,7 +33,7 @@ RUNTIME_VERSION="2"
usage() {
cat <<'USAGE'
-Producer - local speech cleanup and podcast mastering (VoiceForge).
+Producer - local speech cleanup and podcast mastering.
Usage: ./producer.sh COMMAND [options]
@@ -81,7 +81,7 @@ mkdir -p -- "$RUNTIME/cache/pip" "$RUNTIME/cache/uv" "$RUNTIME/uv" "$RUNTIME/tmp
# lib/runtime. Installation-target, index, and constraint overrides from the
# host are dropped and package-manager configuration files are disabled, so
# packages can only come from the explicitly passed trusted indexes and land
-# inside lib/runtime. The application reads VOICEFORGE_HOME for AI envs and
+# inside lib/runtime. The application reads PRODUCER_HOME for AI envs and
# models.
unset PYTHONPATH PYTHONHOME VIRTUAL_ENV \
PIP_TARGET PIP_PREFIX PIP_USER PIP_FIND_LINKS PIP_INDEX_URL PIP_EXTRA_INDEX_URL \
@@ -92,7 +92,7 @@ export PYTHONNOUSERSITE=1
export PIP_CACHE_DIR="$RUNTIME/cache/pip" UV_CACHE_DIR="$RUNTIME/cache/uv"
export PIP_CONFIG_FILE=/dev/null UV_NO_CONFIG=1
export UV_PYTHON_INSTALL_DIR="$RUNTIME/uv/python" XDG_CACHE_HOME="$RUNTIME/cache"
-export TMPDIR="$RUNTIME/tmp" VOICEFORGE_HOME="$RUNTIME"
+export TMPDIR="$RUNTIME/tmp" PRODUCER_HOME="$RUNTIME"
marker_current() {
# The marker must name this exact path, and the interpreter must exist:
@@ -172,7 +172,7 @@ bootstrap() {
"$UV" pip install --python "$APP/bin/python" --index-url https://pypi.org/simple "$PROJECT" \
|| fail "Installing the application dependencies failed; check network access and free space."
fi
- "$APP/bin/python" -I -c "import voiceforge" >/dev/null 2>&1 \
+ "$APP/bin/python" -I -c "import producer" >/dev/null 2>&1 \
|| fail "The application environment failed verification."
printf '%s v%s\n' "$RUNTIME" "$RUNTIME_VERSION" > "$READY.tmp"
@@ -183,4 +183,4 @@ bootstrap() {
}
bootstrap
-exec "$APP/bin/python" -I -m voiceforge ${ARGS[@]+"${ARGS[@]}"}
+exec "$APP/bin/python" -I -m producer ${ARGS[@]+"${ARGS[@]}"}