@@ -113,17 +113,17 @@ Setting up with uv (recommended)
113113"""""""""""""""""""""""""""""""""
114114
115115`uv <https://docs.astral.sh/uv/ >`_ is a fast Python package manager. First,
116- bootstrap the build dependencies, then sync the project ::
116+ bootstrap the build dependencies, then install numcodecs in editable mode ::
117117
118118 $ uv venv
119119 $ uv pip install --group dev
120- $ uv sync --group dev --extra test --extra msgpack
120+ $ uv pip install --no-build-isolation -e ".[test,test_extras, msgpack]"
121121
122122The first ``uv pip install `` step bootstraps the build tools into the virtualenv.
123- `` uv sync `` then builds numcodecs in editable mode ( without build isolation, so
124- the venv's `` ninja `` is used for auto-rebuild on import ). This two-step bootstrap
125- is needed because meson-python editable installs require build tools at runtime,
126- not just at build time .
123+ The second installs numcodecs in editable mode without build isolation (so the
124+ venv's build tools are used ). This two-step process is needed because
125+ meson-python editable installs require build tools at runtime for auto-rebuild
126+ on import .
127127
128128To run the tests::
129129
@@ -167,7 +167,7 @@ Rebuilding after changes
167167With an editable install, meson-python automatically rebuilds changed C/Cython
168168extensions when you import ``numcodecs ``. If you need a full clean rebuild::
169169
170- $ rm -rf builddir
170+ $ rm -rf build
171171 $ pip install --no-build-isolation -e .
172172
173173Creating a branch
0 commit comments