Switch to newer click (2.0)
This commit is contained in:
parent
60260eb0f0
commit
f6d25bbc4f
2 changed files with 3 additions and 3 deletions
|
|
@ -192,11 +192,11 @@ def without_appcontext(f):
|
|||
return f
|
||||
|
||||
|
||||
def set_debug_value(ctx, value):
|
||||
def set_debug_value(ctx, param, value):
|
||||
ctx.ensure_object(ScriptInfo).debug = value
|
||||
|
||||
|
||||
def set_app_value(ctx, value):
|
||||
def set_app_value(ctx, param, value):
|
||||
if value is not None:
|
||||
if os.path.isfile(value):
|
||||
value = prepare_exec_for_file(value)
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -100,7 +100,7 @@ setup(
|
|||
'Werkzeug>=0.7',
|
||||
'Jinja2>=2.4',
|
||||
'itsdangerous>=0.21',
|
||||
'click>=0.6',
|
||||
'click>=2.0',
|
||||
],
|
||||
classifiers=[
|
||||
'Development Status :: 4 - Beta',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue