imports inutiles
This commit is contained in:
parent
8d8b8a3ae9
commit
6f885edfe4
@ -5,8 +5,9 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
# Un hack en attendant la migration vers Python3 #sco8
|
# Un hack en attendant la migration vers Python3 #sco8
|
||||||
reload(sys)
|
if sys.version_info.major < 3:
|
||||||
sys.setdefaultencoding("UTF8")
|
reload(sys)
|
||||||
|
sys.setdefaultencoding("UTF8")
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
from logging.handlers import SMTPHandler, RotatingFileHandler
|
from logging.handlers import SMTPHandler, RotatingFileHandler
|
||||||
|
@ -30,14 +30,7 @@
|
|||||||
|
|
||||||
# Anciennement ZScoUsers.py, fonctions de gestion des données réécrite avec flask/SQLAlchemy
|
# Anciennement ZScoUsers.py, fonctions de gestion des données réécrite avec flask/SQLAlchemy
|
||||||
|
|
||||||
import base64
|
from flask import url_for, g
|
||||||
import jaxml
|
|
||||||
import md5
|
|
||||||
import re
|
|
||||||
import string
|
|
||||||
import time
|
|
||||||
|
|
||||||
from flask import current_app, url_for, g
|
|
||||||
from flask_login import current_user
|
from flask_login import current_user
|
||||||
|
|
||||||
import cracklib # pylint: disable=import-error
|
import cracklib # pylint: disable=import-error
|
||||||
@ -48,16 +41,12 @@ from app.auth.models import Permission
|
|||||||
from app.auth.models import User
|
from app.auth.models import User
|
||||||
|
|
||||||
from app.scodoc import html_sco_header
|
from app.scodoc import html_sco_header
|
||||||
from app.scodoc import sco_cache
|
|
||||||
from app.scodoc import sco_etud
|
from app.scodoc import sco_etud
|
||||||
from app.scodoc import sco_excel
|
from app.scodoc import sco_excel
|
||||||
from app.scodoc import sco_preferences
|
from app.scodoc import sco_preferences
|
||||||
from app.scodoc.gen_tables import GenTable
|
from app.scodoc.gen_tables import GenTable
|
||||||
from app.scodoc.notes_log import log
|
from app.scodoc.notes_log import log
|
||||||
from app.scodoc.scolog import logdb
|
from app.scodoc.scolog import logdb
|
||||||
from app.scodoc.sco_etud import format_prenom, format_nom
|
|
||||||
from app.scodoc.TrivialFormulator import TrivialFormulator, tf_error_message
|
|
||||||
import app.scodoc.notesdb as ndb
|
|
||||||
import app.scodoc.sco_utils as scu
|
import app.scodoc.sco_utils as scu
|
||||||
|
|
||||||
from app.scodoc.sco_exceptions import (
|
from app.scodoc.sco_exceptions import (
|
||||||
|
@ -24,20 +24,15 @@
|
|||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Module scolar: issu de ScoDoc7 / ZScolar.py
|
Module scolar: vues de .../ScoDoc/<dept>/Scolarite
|
||||||
|
|
||||||
|
issu de ScoDoc7 / ZScolar.py
|
||||||
|
|
||||||
Emmanuel Viennet, 2021
|
Emmanuel Viennet, 2021
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import traceback
|
|
||||||
import time
|
import time
|
||||||
import string
|
|
||||||
import glob
|
|
||||||
import re
|
|
||||||
import cgi
|
|
||||||
import xml
|
|
||||||
import jaxml
|
|
||||||
|
|
||||||
# StringIO => io.StringIO or io.BytesIO for text and data respectively. #py3
|
# StringIO => io.StringIO or io.BytesIO for text and data respectively. #py3
|
||||||
try:
|
try:
|
||||||
|
@ -33,6 +33,7 @@ lazy-object-proxy==1.6.0
|
|||||||
Mako==1.1.4
|
Mako==1.1.4
|
||||||
MarkupSafe==1.1.1
|
MarkupSafe==1.1.1
|
||||||
mccabe==0.6.1
|
mccabe==0.6.1
|
||||||
|
modernize==0.7
|
||||||
Pillow==6.2.2
|
Pillow==6.2.2
|
||||||
pkg-resources==0.0.0
|
pkg-resources==0.0.0
|
||||||
psycopg2==2.8.6
|
psycopg2==2.8.6
|
34
requirements-3.7.txt
Normal file
34
requirements-3.7.txt
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
alembic==1.6.5
|
||||||
|
blinker==1.4
|
||||||
|
click==8.0.1
|
||||||
|
dnspython==2.1.0
|
||||||
|
dominate==2.6.0
|
||||||
|
email-validator==1.1.3
|
||||||
|
Flask==2.0.1
|
||||||
|
Flask-Bootstrap==3.3.7.1
|
||||||
|
Flask-Login==0.5.0
|
||||||
|
Flask-Mail==0.9.1
|
||||||
|
Flask-Migrate==3.0.1
|
||||||
|
Flask-Moment==1.0.1
|
||||||
|
Flask-SQLAlchemy==2.5.1
|
||||||
|
Flask-WTF==0.15.1
|
||||||
|
greenlet==1.1.0
|
||||||
|
idna==3.2
|
||||||
|
importlib-metadata==4.6.1
|
||||||
|
itsdangerous==2.0.1
|
||||||
|
Jinja2==3.0.1
|
||||||
|
Mako==1.1.4
|
||||||
|
MarkupSafe==2.0.1
|
||||||
|
pkg-resources==0.0.0
|
||||||
|
psycopg2==2.9.1
|
||||||
|
PyJWT==2.1.0
|
||||||
|
python-dateutil==2.8.1
|
||||||
|
python-dotenv==0.18.0
|
||||||
|
python-editor==1.0.4
|
||||||
|
six==1.16.0
|
||||||
|
SQLAlchemy==1.4.20
|
||||||
|
typing-extensions==3.10.0.0
|
||||||
|
visitor==0.1.3
|
||||||
|
Werkzeug==2.0.1
|
||||||
|
WTForms==2.3.3
|
||||||
|
zipp==3.5.0
|
Loading…
Reference in New Issue
Block a user