Experimental development environment setup for Mopidy using uv.
Clone this repo:
gh repo clone mopidy/workspace ~/mopidy-devClone any extensions you want to work on:
cd ~/mopidy-dev/ext/
gh repo clone mopidy/mopidy-alsamixer
gh repo clone mopidy/mopidy-beets
gh repo clone mopidy/mopidy-local
gh repo clone mopidy/mopidy-mpd
gh repo clone mopidy/mopidy-mpris
gh repo clone mopidy/mopidy-nad
gh repo clone mopidy/mopidy-scrobbler
gh repo clone mopidy/mopidy-soundcloud
gh repo clone mopidy/mopidy-spotifyWarning
Make sure the extensions are added to the top-level pyproject.toml. They
should be listed both in project.dependencies and tool.uv.sources.
Then, use uv to install everything:
cd ~/mopidy-dev/
uv syncAnd use uv to run mopidy. A good sanitity check is to begin with mopidy deps:
uv run mopidy depsWhenever you make changes in any of the cloned repos, uv will detect it and
update the installation whenever needed, making sure you're always running the
latest code from across the repos.
Note
Further simplifications and streamlining of the above process are welcome!