Skip to content

Commit

Permalink
readme: Add command to install pip-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjwebb committed Feb 24, 2025
1 parent ca468fb commit 000d302
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,17 +119,21 @@ Often you only want to regenerate the current stats, use `get_stats.sh` to downl
If a change requires new dependencies then please add to `requirements.in` or `requirements_dev.in` as appropriate and recompile:

```
# Make sure you are in the virtualenv (see step 1 above)
source .ve/bin/activate
# Install an older version of pip, see https://github.com/jazzband/pip-tools/issues/2131
pip install 'pip<24.3'
pip install --upgrade pip-tools 'pip<24.3'
pip-compile requirements.in
pip-compile requirements_dev.in
```

### Upgrading dependencies

```
# Make sure you are in the virtualenv (see step 1 above)
source .ve/bin/activate
# Install an older version of pip, see https://github.com/jazzband/pip-tools/issues/2131
pip install 'pip<24.3'
pip install --upgrade pip-tools 'pip<24.3'
pip-compile --upgrade requirements.in
pip-compile --upgrade requirements_dev.in
```
Expand Down

0 comments on commit 000d302

Please sign in to comment.