From 74e222f1a1cbfc2fac102fefc1115e9d0a6586dc Mon Sep 17 00:00:00 2001 From: Glandos Date: Sun, 6 Jun 2021 14:30:52 +0200 Subject: remove usage of Flask-Script Use flask.cli instead with compatibility layer for existing commands, such as "runserver". --- setup.cfg | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index 8446f90..044defe 100644 --- a/setup.cfg +++ b/setup.cfg @@ -32,7 +32,6 @@ install_requires = Flask-Mail~=0.9 Flask-Migrate>=2.5.3,<3 # Not following semantic versioning (e.g. https://github.com/miguelgrinberg/flask-migrate/commit/1af28ba273de6c88544623b8dc02dd539340294b) Flask-RESTful~=0.3 - Flask-Script~=2.0 Flask-SQLAlchemy~=2.4 Flask-WTF~=0.14,>=0.14.3 # See b76da172652da94c1f9c4b2fdd965375da8a2c3f WTForms~=2.2.1,<2.3 # See #567 @@ -58,8 +57,12 @@ doc = docutils==0.17.1 [options.entry_points] +flask.commands = + generate_password_hash = ihatemoney.manage:password_hash + generate-config = ihatemoney.manage:generate_config + console_scripts = - ihatemoney = ihatemoney.manage:main + ihatemoney = ihatemoney.manage:cli paste.app_factory = main = ihatemoney.run:main -- cgit v1.1