# Path: beavy/app.py
# BASE_DIR = os.path.dirname(os.path.abspath(__file__))
# STATIC_FOLDER = os.path.join(BASE_DIR, '..', 'assets')
#     _FLBLPRE = "flask_social_blueprint.providers.{}"
# def make_env(app):
# def setup_statics(app):
#     def injnect_manifest():
# def make_celery(app):
#         def __call__(self, *args, **kwargs):
#     def login_failed_redirect(self, profile, provider):
#     def is_accessible(self):
# def _limiter_key():
# def inject_messages():
# def get_locale():
#     def ensure_users():
#     def print_routes():
#     class ContextTask(TaskBase):
# class SocialBlueprint(SocialBp):
# class BeavyAdminIndexView(AdminIndexView):


from flask.ext.script import Command, Option
from beavy.app import app, manager, migrate
    from behave.configuration import options as behave_options
    from behave.__main__ import main as behave_main
import sys
import os
import re
    import pytest
    import pytest


BASE_DIR = os.path.dirname(os.path.abspath(__file__))


@migrate.configure
def configure_alembic(config):
    paths = list(filter(lambda x: os.path.isdir(x),
                 map(lambda x: os.path.join(BASE_DIR,
                     'beavy_modules', x, "migrations"),

# Path: beavy/app.py
# BASE_DIR = os.path.dirname(os.path.abspath(__file__))
# STATIC_FOLDER = os.path.join(BASE_DIR, '..', 'assets')
#     _FLBLPRE = "flask_social_blueprint.providers.{}"
# def make_env(app):
# def setup_statics(app):
#     def injnect_manifest():
# def make_celery(app):
#         def __call__(self, *args, **kwargs):
#     def login_failed_redirect(self, profile, provider):
#     def is_accessible(self):
# def _limiter_key():
# def inject_messages():
# def get_locale():
#     def ensure_users():
#     def print_routes():
#     class ContextTask(TaskBase):
# class SocialBlueprint(SocialBp):
# class BeavyAdminIndexView(AdminIndexView):


# Path: manager.py
from flask.ext.script import Command, Option
from beavy.app import app, manager, migrate
    from behave.configuration import options as behave_options
    from behave.__main__ import main as behave_main
import sys
import os
import re
    import pytest
    import pytest



BASE_DIR = os.path.dirname(os.path.abspath(__file__))


@migrate.configure
def configure_alembic(config):
    paths = list(filter(lambda x: os.path.isdir(x),
                 map(lambda x: os.path.join(BASE_DIR,
                     'beavy_modules', x, "migrations"),

                        (app.config.get("MODULES", None) or []))))