Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiayu Liu committed Jun 3, 2021
1 parent b142ed8 commit 68bd698
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,23 @@ Whenever rust code changes (your changes or via git pull):
venv/bin/maturin develop
venv/bin/python -m unittest discover tests
```

## How to update dependencies

To change test dependencies, change the `requirements.in` and run

```bash
# install pip-tools (this can be done only once), also consider running in venv
pip install pip-tools

# change requirements.in and then run
pip-compile --generate-hashes
```

To update dependencies, run

```bash
pip-compile update
```

More details [here](https://github.com/jazzband/pip-tools)

0 comments on commit 68bd698

Please sign in to comment.