From 18ea6afb9426f3530f833d6b5c8f29fa88481bba Mon Sep 17 00:00:00 2001 From: Adrien Date: Tue, 30 Aug 2022 22:07:45 +0200 Subject: [PATCH] Add note about poetry --- 20220820195639-poetry.org | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 20220820195639-poetry.org diff --git a/20220820195639-poetry.org b/20220820195639-poetry.org new file mode 100644 index 0000000..70093aa --- /dev/null +++ b/20220820195639-poetry.org @@ -0,0 +1,23 @@ +:PROPERTIES: +:ID: 01f24d29-e833-4bfa-acb0-95140800d081 +:mtime: 20220820200208 +:ctime: 20220820195639 +:END: +#+title: poetry + +* Introduction + * Utilitaire de gestion de projets Python (équivalent à ~yarn~). + * Encapsule différents services: + * ~venv~ + +* Configuration +** Création des environnements virtuels dans le répertoire du projet +#+BEGIN_SRC shell +poetry config virtualenvs.in-project true +#+END_SRC +** Supprimer un cache +#+BEGIN_SRC shell +# Pour afficher la liste des environnements existants +poetry env list +poetry env remove +#+END_SRC