import flask_wtf as wtf

def setup():
    from ..exthook import ExtensionImporter
importer = ExtensionImporter(['flask_%s', 'flaskext.%s'], __name__)
importer.install()
setup()
del setup
How to make eclipse/pydev happy to see flask extensions on windows?