From bd19b67c7d243737044645059bddfa38726ee6c9 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Fri, 19 May 2017 08:36:51 +0200 Subject: [PATCH] Fix migrations. --- accountant/__init__.py | 3 --- setup.py | 5 ++--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/accountant/__init__.py b/accountant/__init__.py index aed045d..2f95d31 100644 --- a/accountant/__init__.py +++ b/accountant/__init__.py @@ -31,9 +31,6 @@ def create_app(config_path): db.init_app(app) - app.config['ALEMBIC'] = { - 'script_location': 'migrations' - } alembic.init_app(app) # API views related stuff. diff --git a/setup.py b/setup.py index 4f370ff..45928a0 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ # vim: set tw=80 ts=4 sw=4 sts=4: -from setuptools import setup, find_packages +from setuptools import setup setup( name='Accountant', @@ -13,8 +13,7 @@ setup( long_description=__doc__, - packages=find_packages(), - + packages=['accountant', 'accountant.migrations'], include_package_data=True, zip_safe=False, install_requires=[