gabriel / musehub public
feat BREAKING install task/install-venv-rewrite #1 / 1
gabriel · 75 days ago · Apr 9, 2026 · Diff

feat(install): rewrite install script to venv+sdist model

Replace the binary tarball approach with a venv-based install: - install.sh checks for Python 3.14+, creates ~/.local/share/muse/venv, downloads muse sdist from {MUSEHUB_URL}/releases/muse-{ver}.tar.gz, pip-installs it, and symlinks ~/.local/bin/muse - uninstall.sh removes the symlink AND the venv - No PyPI dependency — sdist served directly from the MuseHub instance - /releases/ StaticFiles mount added to main.py (must precede wildcard routes) - test_install_script_section43.py rewritten to match new API: build_sdist_url replaces build_archive_url (no platform/arch params); venv/pip/symlink assertions added; uninstall checks venv removal

108 tests pass.

sha256:f28fcfeabc07cb31cb6105700dc1f593330ecedfcb8262bcffcf58fc4de947d1 sha
sha256:18567401c4cada02bbb7c82c11ded3b819059d3650cb926e0a601d1475c5ed90 snapshot
← Older Oldest on task/install-venv-rewrite
All commits
Newer → Latest on task/install-venv-rewrite

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:f28fcfeabc07cb31cb6105700dc1f593330ecedfcb8262bcffcf58fc4de947d1 --body "your comment"