]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Add --package flag to write __init__.py files
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 19 Sep 2019 20:59:27 +0000 (16:59 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 20 Sep 2019 00:48:35 +0000 (20:48 -0400)
commit51dea2a900d2ef987e655e0073ee3e7e23528a47
treedc36f892f595b3473e7b3eea330939a9d2f7485f
parent049e8303b42b70df562a9e33bbb4aa66f99b2824
Add --package flag to write __init__.py files

Added new flag ``--package`` to ``alembic init``.  For environments where
the Alembic migration files and such are within the package tree and
importable as modules, this flag can be specified which will add the
additional ``__init__.py`` files in the version location and the
environment location.

Change-Id: I4993d17936f2b8a9833a28f0788389b19ff4333e
Fixes: #463
alembic/command.py
alembic/config.py
docs/build/unreleased/463.rst [new file with mode: 0644]
tests/test_command.py