Fix migrations.

This commit is contained in:
Alexis Lahouze 2017-05-19 08:36:51 +02:00
parent b317249918
commit bd19b67c7d
2 changed files with 2 additions and 6 deletions

View File

@ -31,9 +31,6 @@ def create_app(config_path):
db.init_app(app) db.init_app(app)
app.config['ALEMBIC'] = {
'script_location': 'migrations'
}
alembic.init_app(app) alembic.init_app(app)
# API views related stuff. # API views related stuff.

View File

@ -2,7 +2,7 @@
# vim: set tw=80 ts=4 sw=4 sts=4: # vim: set tw=80 ts=4 sw=4 sts=4:
from setuptools import setup, find_packages from setuptools import setup
setup( setup(
name='Accountant', name='Accountant',
@ -13,8 +13,7 @@ setup(
long_description=__doc__, long_description=__doc__,
packages=find_packages(), packages=['accountant', 'accountant.migrations'],
include_package_data=True, include_package_data=True,
zip_safe=False, zip_safe=False,
install_requires=[ install_requires=[