# Path: packages/app.py
# def load_user(username):
#     def handle_500(e):
# def handle_404(e):
# def version():
# def hook_publish():
# def inject():
# 
# Path: packages/objects.py
# class User(Base):
# class Package(Base):
#     def set_password(self, password):
#     def __init__(self, username, email, password):
#     def __repr__(self):
#     def is_authenticated(self):
#     def is_active(self):
#     def is_anonymous(self):
#     def get_id(self):
#     def __init__(self):
#     def __repr__(self):


import os, sys
from alembic import context
from sqlalchemy import engine_from_config, pool
from logging.config import fileConfig
from packages.app import app
from packages.objects import Base
from __future__ import with_statement
sys.path.append(os.getcwd())

# this is the Alembic Config object, which provides
# access to the values within the .ini file in use.
config = context.config

# Interpret the config file for Python logging.
# This line sets up loggers basically.
fileConfig(config.config_file_name)

# add your model's MetaData object here
# for 'autogenerate' support

# Path: packages/app.py
# def load_user(username):
#     def handle_500(e):
# def handle_404(e):
# def version():
# def hook_publish():
# def inject():
# 
# Path: packages/objects.py
# class User(Base):
# class Package(Base):
#     def set_password(self, password):
#     def __init__(self, username, email, password):
#     def __repr__(self):
#     def is_authenticated(self):
#     def is_active(self):
#     def is_anonymous(self):
#     def get_id(self):
#     def __init__(self):
#     def __repr__(self):


# Path: alembic/env.py
import os, sys
from alembic import context
from sqlalchemy import engine_from_config, pool
from logging.config import fileConfig
from packages.app import app
from packages.objects import Base

from __future__ import with_statement
sys.path.append(os.getcwd())

# this is the Alembic Config object, which provides
# access to the values within the .ini file in use.
config = context.config

# Interpret the config file for Python logging.
# This line sets up loggers basically.
fileConfig(config.config_file_name)

# add your model's MetaData object here
# for 'autogenerate' support

target_metadata = Base.metadata