Fix: requirements for Python 3.11

This commit is contained in:
Emmanuel Viennet 2023-07-19 15:37:43 +02:00
parent cb0b890f1f
commit 9bdeda7559
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# -*- mode: python -*-
# -*- coding: utf-8 -*-
SCOVERSION = "9.6.1"
SCOVERSION = "9.6.2"
SCONAME = "ScoDoc"

View File

@ -75,9 +75,9 @@ fi
#echo "Creating python3 virtualenv..."
su -c "(cd $SCODOC_DIR && python3 -m venv venv)" "$SCODOC_USER" || die "Error creating Python 3 virtualenv"
# ------------ INSTALL DES PAQUETS PYTHON (3.9)
# ------------ INSTALL DES PAQUETS PYTHON (3.11)
# pip in our env, as user "scodoc"
su -c "(cd $SCODOC_DIR && source venv/bin/activate && pip install wheel && pip install -r requirements-3.9.txt)" "$SCODOC_USER" || die "Error installing python packages"
su -c "(cd $SCODOC_DIR && source venv/bin/activate && pip install wheel && pip install -r requirements-3.11.txt)" "$SCODOC_USER" || die "Error installing python packages"
# --- NGINX
# Evite d'écraser: il faudrait ici présenter un dialogue "fichier local modifié, ..."