aboutsummaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorGlandos <bugs-github@antipoul.fr>2021-06-06 14:30:52 +0200
committerGlandos <bugs-github@antipoul.fr>2021-06-06 15:13:21 +0200
commit74e222f1a1cbfc2fac102fefc1115e9d0a6586dc (patch)
tree86566065de2804457e698c9d32b5b2ee99d3d49e /setup.cfg
parenteff871e83c5a82d17f48d148257e6ac95c8470d3 (diff)
downloadihatemoney-mirror-74e222f1a1cbfc2fac102fefc1115e9d0a6586dc.zip
ihatemoney-mirror-74e222f1a1cbfc2fac102fefc1115e9d0a6586dc.tar.gz
ihatemoney-mirror-74e222f1a1cbfc2fac102fefc1115e9d0a6586dc.tar.bz2
remove usage of Flask-Script
Use flask.cli instead with compatibility layer for existing commands, such as "runserver".
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg7
1 files changed, 5 insertions, 2 deletions
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