From e901a3358fef94cd1ca4e366464556763331285e Mon Sep 17 00:00:00 2001 From: Kepka Ludovic Date: Tue, 5 Aug 2025 16:42:03 +0200 Subject: [PATCH] =?UTF-8?q?mise=20=C3=A0=20dependence=20et=20procedure=20d?= =?UTF-8?q?'installation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 33 ++++++++++++++++++++++++++++++++- requirements.txt | 5 ++++- 2 files changed, 36 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6ecfd92..396264c 100644 --- a/README.md +++ b/README.md @@ -55,4 +55,35 @@ En mode supervision ## 📋 Dépendances - discord.py==2.3.2 -- python-dotenv==1.0.0 \ No newline at end of file +- python-dotenv==1.0.0 + + + +# Installation poste de dev +## installation des dépendences systeme +~~~ +sudo apt install python3 python3-pip p +~~~ + +## creation de l'environnement python locale +Dans le projet +~~~ +python3 -m venv .venv +~~~ + +Puis activer l'environnement : +~~~ +source .venv/bin/activate +~~~ + +## installation des dépendences python + +~~~ +pip install -r requirements.txt +~~~ + +## execution + +~~~ +TOKEN=truc python3 bot.py +~~~ \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 5e6a52d..587829b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,5 @@ discord.py==2.3.2 -python-dotenv==1.0.0 \ No newline at end of file +python-dotenv==1.0.0 +# necessaire pour discord.py +aiohttp>=3.7.4,<4 +audioop-lts; python_version>='3.13' \ No newline at end of file