]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
- The :class:`.ScriptDirectory` system that loads migration files
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 31 Dec 2013 20:01:50 +0000 (15:01 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 31 Dec 2013 20:01:50 +0000 (15:01 -0500)
commit410898a56bee5d8dac411e806423fa63dda0d441
treeee7db25b0367432f21d5cfcf8adaa1d2448f8511
parent158dea527a00050d008e2d78ddd1ef5765b482f4
- The :class:`.ScriptDirectory` system that loads migration files
from a  ``versions/`` directory now supports so-called
"sourceless" operation,  where the ``.py`` files are not present
and instead ``.pyc`` or ``.pyo`` files are directly present where
the ``.py`` files should be.  Note that while Python 3.3 has a
new system of locating ``.pyc``/``.pyo`` files within a directory
called ``__pycache__`` (e.g. PEP-3147), PEP-3147 maintains
support for the "source-less imports" use case, where the
``.pyc``/``.pyo`` are in present in the "old" location, e.g. next
to the ``.py`` file; this is the usage that's supported even when
running Python3.3.  #163
.gitignore
alembic/__init__.py
alembic/compat.py
alembic/script.py
alembic/util.py
docs/build/changelog.rst
tests/__init__.py
tests/test_versioning.py