Skip to content

Commit b146581

Browse files
committed
docs: updated Development instructions to reflect using uv.lock
1 parent 7ce3e82 commit b146581

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

docs/source/development.rst

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,14 @@ Development environment
88

99
Set up development environment on Mac and Linux
1010

11-
Using UV instead of pip
12-
-----------------------
11+
The only prereq is that uv is installed.
1312

14-
This way is better and faster than using pip.
1513

1614
.. code-block:: shell-session
1715
18-
user@DEVMACHINE123 % uv venv
19-
user@DEVMACHINE123 % source ./venv/bin/activate
20-
(venv) user@DEVMACHINE123 % uv pip sync requirements-dev.txt
21-
(venv) user@DEVMACHINE123 % uv pip install -e .
22-
23-
Using pip
24-
---------
25-
26-
If you don't have uv installed:
27-
28-
.. code-block:: shell-session
29-
30-
user@DEVMACHINE123 % python -m venv .venv
16+
user@DEVMACHINE123 % uv sync --group dev
3117
user@DEVMACHINE123 % source .venv/bin/activate
32-
(venv) user@DEVMACHINE123 % pip install -r requirements-dev.txt
33-
(venv) user@DEVMACHINE123 % pip install -e .
18+
3419
3520
-------------
3621
Running tests

0 commit comments

Comments
 (0)