From 80bcf131eea1454a3714187e0c554b66a9e1c895 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E6=AA=8E?= Date: Sun, 5 Mar 2017 22:53:59 +0800 Subject: [PATCH] add requirement.txt --- cps/web.py | 4 ++-- requirements.txt | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/cps/web.py b/cps/web.py index 3b3da474..50243845 100755 --- a/cps/web.py +++ b/cps/web.py @@ -18,9 +18,9 @@ from sqlalchemy.exc import IntegrityError from sqlalchemy import __version__ as sqlalchemyVersion from math import ceil from flask_login import LoginManager, login_user, logout_user, login_required, current_user -from flask_login import __version__ as flask_loginVersion +from flask_login.__about__ import __version__ as flask_loginVersion from flask_principal import Principal, Identity, AnonymousIdentity, identity_changed -from flask_login import __version__ as flask_principalVersion +from flask_principal import __version__ as flask_principalVersion from flask_babel import Babel from flask_babel import gettext as _ import requests diff --git a/requirements.txt b/requirements.txt index b6d2560e..7fd6e2fb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,24 @@ future sqlalchemy + +PyPDF2 +babel +blinker +click +flask +flask_babel +flask_login +flask_principal +iso-639 +itsdangerous +jinja2 +markupsafe +pytz +requests +singledispatch +six +sqlalchemy +tornado +validate +wand +werkzeug