After reading the tutorial, and searching a little in the documentation and 
group archives, I'm unclear on the best location and name of the Alembic 
scripts directory.

The tutorial 
<http://alembic.readthedocs.org/en/latest/tutorial.html#the-migration-environment>
 
advises:

yourproject/
>     alembic/


And indicates:

yourproject - this is the root of your application’s source code, or some 
> directory within it.


If my project directory structure looks like:

my-project/
    mypackage/
        __init__.py

Then, is it better to make the scripts directory a child or a sibling of 
mypackage?

Is the intent that the scripts directory be an importable module?

Would it be best to name it something other than "alembic" to avoid import 
conflicts with Alembic itself?

Best,
Matt

-- 
http://matthewlmcclure.com

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy-alembic" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy-alembic+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to