Experimental development environment setup for Mopidy using uv.
Clone this repo:
gh repo clone mopidy/workspace ~/mopidy-dev
Enter the newly created development environment:
cd ~/mopidy-dev
Clone any extensions you want to work on:
gh repo clone mopidy/mopidy-local
gh repo clone mopidy/mopidy-mpd
Warning
Make sure the extensions are added to the top-level pyproject.toml
. They
should be listed both in project.dependencies
and uv.tool.sources
.
Then, use uv
to install everything:
uv sync
And use uv
to run mopidy
. A good sanitity check is to begin with mopidy deps
:
uv run mopidy deps
Whenever 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!