forked from ScoDoc/ScoDoc
Fix: requirements for Python 3.11
This commit is contained in:
parent
cb0b890f1f
commit
9bdeda7559
@ -1,7 +1,7 @@
|
||||
# -*- mode: python -*-
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
SCOVERSION = "9.6.1"
|
||||
SCOVERSION = "9.6.2"
|
||||
|
||||
SCONAME = "ScoDoc"
|
||||
|
||||
|
@ -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é, ..."
|
||||
|
Loading…
Reference in New Issue
Block a user