refactor: rename the package from ccn-transcribe to audio-scribe

The distribution, console script and import package are now audio-scribe /
audio_scribe (src/audio_scribe). Everything named for the old project follows:

- CcnError -> AudioScribeError, and its code "ccn_error" -> "audio_scribe_error"
  (the code is never persisted, so existing job state still loads)
- CCN_LIVE -> AUDIO_SCRIBE_LIVE for the live-GPU tests
- OpenVINO kernel cache moves to <cache>/audio-scribe/ov_cache; the first run
  after upgrading recompiles kernels, and the old directory is left in place
- README, build-binary.sh, hatch/coverage config and uv.lock updated to match

Breaking: the command is now `audio-scribe`; reinstall any tool install of the
old name with `uv tool uninstall ccn-transcribe && uv tool install .`.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-19 15:52:42 -05:00
co-authored by Claude Sonnet 5
parent e459606e89
commit b23995f218
59 changed files with 272 additions and 269 deletions
+5 -5
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build a self-contained ccn-transcribe directory that runs without Python or uv.
# Build a self-contained audio-scribe directory that runs without Python or uv.
#
# onedir, never onefile: onefile extracts ~450 MB to /tmp on every launch.
# deno lands in bin/ because PyInstaller points sys.prefix at the bundle, which
@@ -10,7 +10,7 @@ cd "$(dirname "$0")/.."
DIST=${1:-dist}
uv run --locked --with pyinstaller pyinstaller \
--noconfirm --onedir --name ccn-transcribe \
--noconfirm --onedir --name audio-scribe \
--distpath "$DIST" --workpath "build/pyinstaller" --specpath "build" \
--collect-all openvino \
--collect-all openvino_genai \
@@ -18,8 +18,8 @@ uv run --locked --with pyinstaller pyinstaller \
--collect-all yt_dlp \
--collect-all yt_dlp_ejs \
--add-binary "$PWD/.venv/bin/deno:bin" \
src/ccn_transcribe/__main__.py
src/audio_scribe/__main__.py
echo
echo "built $DIST/ccn-transcribe ($(du -sh "$DIST/ccn-transcribe" | cut -f1))"
echo "verify it with: $DIST/ccn-transcribe/ccn-transcribe doctor"
echo "built $DIST/audio-scribe ($(du -sh "$DIST/audio-scribe" | cut -f1))"
echo "verify it with: $DIST/audio-scribe/audio-scribe doctor"