From b0e9d0fe1595e2c6d434121577a74690758592ee Mon Sep 17 00:00:00 2001 From: Brad Barnett <127794626+bdbarnett@users.noreply.github.com> Date: Tue, 17 Nov 2026 03:41:41 -0600 Subject: [PATCH] Setup: the audio packages install with a plain pip install The three audio packages now have final releases on PyPI, so the install lines and bootstrap.sh no longer ask for pre-releases. --- docs/get-started/first-program.md | 2 +- scripts/bootstrap.sh | 12 ++++-------- tools/README.md | 5 ++--- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/docs/get-started/first-program.md b/docs/get-started/first-program.md index fc4d3f5..1dc0d7c 100644 --- a/docs/get-started/first-program.md +++ b/docs/get-started/first-program.md @@ -70,7 +70,7 @@ What each line is for: You can render the script offline, with no host and no plug-in, to check that it makes sound. From a checkout of this repository, in a virtual environment with the audio packages from PyPI: ```bash -pip install --pre \ +pip install \ omnipython-audiodsp omnipython-audioinstruments omnipython-audioeffects numpy ``` diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 784e235..d0bbccd 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -49,17 +49,13 @@ log "creating .venv (omnipython-audiodsp, omnipython-audioinstruments," \ if [[ ! -d "$repo_dir/.venv" ]]; then python3 -m venv "$repo_dir/.venv" || die "python3 -m venv failed" fi -# The three OmniPython distributions publish pre-releases, so they install -# with --pre, on their own: the tools after them stay on final releases. The -# instruments and the effects are published from PyDevices/audioinstruments -# and PyDevices/audioeffects. -"$repo_dir/.venv/bin/pip" install -q --pre \ - omnipython-audiodsp omnipython-audioinstruments omnipython-audioeffects \ - || die "installing the OmniPython audio packages into .venv failed" +# The instruments and the effects are published from +# PyDevices/audioinstruments and PyDevices/audioeffects. "$repo_dir/.venv/bin/pip" install -q \ + omnipython-audiodsp omnipython-audioinstruments omnipython-audioeffects \ numpy flake8 \ pyloudnorm soundfile scipy pyyaml \ - || die "installing numpy/flake8 and the QC tools into .venv failed" + || die "installing the OmniPython audio packages/numpy/flake8 into .venv failed" # pyloudnorm/soundfile/scipy are only for tools/audio_qc.py, which measures a # rendered WAV's loudness and true peak. Nothing in the ctest suite needs them. log ".venv ready - this is what gates the mpvst_lint, mpvst_instruments_library" \ diff --git a/tools/README.md b/tools/README.md index 395e5e8..ca6c35b 100644 --- a/tools/README.md +++ b/tools/README.md @@ -19,12 +19,11 @@ Both need the `audiodsp` wheel's venv - this repo's own `.venv` if you have set one up: ```bash -pip install --pre \ +pip install \ omnipython-audiodsp omnipython-audioinstruments omnipython-audioeffects numpy ``` -`--pre` takes the newest pre-releases of the three, which is what they -publish. `preview.py` also needs mpvst installed, because +`preview.py` also needs mpvst installed, because it loads instruments the way the sidecar does - through the bundle's `mpvst_instrument_adapter`. Point `MPVST_BUNDLE` at the install if it is somewhere unusual.