- Install development / system dependencies (read below)
- Set configuration (read below)
- Create and activate Python virtual environment:
poetry install
poetry shell
- Run:
python src/main.py
System dependency | Required version | Description |
---|---|---|
Poetry | 1.8.x |
Python package manager |
Python | 3.12.2 |
Python runtime |
Set virtualenvs.in-project
configuration parameter:
- By running command:
poetry config virtualenvs.in-project true
- By editing configuration
manually:
[virtualenvs] in-project = true
- Install
up
plugin:poetry self add poetry-plugin-up
- Update dependencies to latest available compatible versions:
poetry up --latest