|
|
|
@ -21,6 +21,7 @@ import traceback
|
|
|
|
|
from functools import update_wrapper |
|
|
|
|
from operator import attrgetter |
|
|
|
|
from threading import Lock, Thread |
|
|
|
|
from werkzeug import __version__ as werkzeug_version |
|
|
|
|
|
|
|
|
|
import click |
|
|
|
|
from werkzeug.utils import import_string |
|
|
|
@ -257,7 +258,6 @@ def locate_app(script_info, module_name, app_name, raise_if_not_found=True):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def get_version(ctx, param, value): |
|
|
|
|
from werkzeug import __version__ as werkzeug_version |
|
|
|
|
if not value or ctx.resilient_parsing: |
|
|
|
|
return |
|
|
|
|
message = 'Python %(python_version)s\nFlask %(version)s\nWerkzeug %(werkzeug_version)s' |
|
|
|
|