erplibre/doc/POETRY.md

24 lines
614 B
Markdown
Raw Normal View History

# Poetry
## Add dependencies automatically
Add your dependencies in file [requirements.txt](../requirements.txt) and run script
```bash
./script/poetry_update.py
```
This will search all `requirements.txt` files and update `pyproject.toml` and it will update poetry
2021-06-27 00:22:51 -04:00
Priority dependencies in ./requirements.txt, after it's ./odoo/requirements.txt, after it's highest version values.
2020-12-11 03:46:56 -05:00
TODO add option to only add missing dependencies and ignore update.
## Add dependencies manually
The automatic script will erase this dependency, but you can add it for your local test.
```bash
poetry add PYTHON_MODULE
```