Fix migrations.
This commit is contained in:
parent
b317249918
commit
bd19b67c7d
@ -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.
|
||||
|
5
setup.py
5
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=[
|
||||
|
Loading…
Reference in New Issue
Block a user