Skip to content

Commit

Permalink
Update uv sync command in README.md
Browse files Browse the repository at this point in the history
As far as I can tell, running `uv sync` by itself removes the install of the package itself because it's not listed in the `requirements-dev.txt`.  This PR tacks ` && python -m pip install -e .` on to the end of the `uv sync` command so that when new dev requirements are added to the project you can easily copy/paste a command that will sync the requirements and still end up with the package itself installed.
  • Loading branch information
elray1 authored Oct 17, 2024
1 parent 2825a5c commit cf05be6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ To add or remove a project dependency:
#
# alternately, you can use uv to install the dependencies: it is faster and has a
# a handy sync option that will cleanup unused dependencies
uv pip sync requirements/requirements-dev.txt
uv pip sync requirements/requirements-dev.txt && python -m pip install -e .
```

## Opinionated notes on Python tooling
Expand Down

0 comments on commit cf05be6

Please sign in to comment.