From 249c09286a0062f2e0f153e8b2a2cc86acc1c3b3 Mon Sep 17 00:00:00 2001 From: Raphael Odini Date: Thu, 23 Nov 2023 10:18:50 +0100 Subject: [PATCH] docs: replace venv with poetry (#54) --- INSTALL.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index a1df6829..dbc6111b 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -14,15 +14,13 @@ git clone https://github.com/openfoodfacts/open-prices.git cd open-prices -# required packages to setup a virtualenv (optional, but recommended) -apt install python3-virtualenv virtualenv +# install poetry (Python dependency manager) +# see https://python-poetry.org/docs/ -# create and switch to virtualenv -python -m venv venv -source venv/bin/activate +# install dependencies (pyproject.toml) +poetry install -# install dependencies -pip install -r requirements.txt +# note: all future commands should be prefixed with `poetry run` # run migrations alembic upgrade head