From faf4c14e2b9c3c9ad8441c834252711c9e973d7d Mon Sep 17 00:00:00 2001 From: absurdo Date: Mon, 16 Oct 2023 21:46:15 +0200 Subject: [PATCH] Fix for flask 3 --- paramecio2/app.py | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/paramecio2/app.py b/paramecio2/app.py index 5bad0da..b6224e0 100644 --- a/paramecio2/app.py +++ b/paramecio2/app.py @@ -1,4 +1,4 @@ -from flask import Flask, session, url_for, escape, request, send_file, abort +from flask import Flask, session, url_for, request, send_file, abort from settings import config from importlib import import_module import os diff --git a/setup.py b/setup.py index 698a3ef..3e6501f 100644 --- a/setup.py +++ b/setup.py @@ -6,14 +6,14 @@ from setuptools import setup, find_packages if sys.version_info < (3, 8): - raise NotImplementedError("Sorry, you need at least Python 3.6 for use paramecio2.") + raise NotImplementedError("Sorry, you need at least Python 3.8 for use paramecio2.") #import paramecio # Pillow should be installed after if you need ImageField # If you install passlib and bcrypt, the password system will use bcrypt by default, if not, will use native crypt libc setup(name='paramecio2', - version='2.0.25', + version='2.0.26', description='Simple Web Framework based in flask and Mako.', long_description='This framework is a simple framework used for create web apps. Paramecio is modular and fast. By default have a module called admin that can be used for create admin sites', author='Antonio de la Rosa Caballero',