FIX import issues (deprecated stuff)

This commit is contained in:
boyska 2020-04-23 15:28:28 +02:00
parent 9769717e11
commit 4401a29f04
2 changed files with 3 additions and 2 deletions

View file

@ -6,8 +6,8 @@ from flask import (Blueprint, Flask, abort, current_app, jsonify, redirect,
render_template, request) render_template, request)
from flask.ext.babel import Babel from flask.ext.babel import Babel
from flask_bootstrap import Bootstrap from flask_bootstrap import Bootstrap
from werkzeug.contrib.cache import SimpleCache
from cachelib import SimpleCache
from greenlet import greenlet from greenlet import greenlet
from .config import get_conf from .config import get_conf

View file

@ -42,7 +42,7 @@ setup(
packages=["larigira", "larigira.dbadmin", "larigira.filters"], packages=["larigira", "larigira.dbadmin", "larigira.filters"],
install_requires=[ install_requires=[
"Babel==2.6.0", "Babel==2.6.0",
"Flask-Babel==0.12.2", "Flask-Babel==1.0.0",
"pyxdg", "pyxdg",
"gevent", "gevent",
"flask-bootstrap", "flask-bootstrap",
@ -53,6 +53,7 @@ setup(
"pytimeparse", "pytimeparse",
"croniter==0.3.29", "croniter==0.3.29",
"werkzeug==0.14.1", "werkzeug==0.14.1",
"cachelib==0.1",
"tinydb", "tinydb",
], ],
tests_require=["pytest-timeout==1.0", "py>=1.4.29", "pytest==3.0"], tests_require=["pytest-timeout==1.0", "py>=1.4.29", "pytest==3.0"],