Python - Packaging Alembic Migrations with Setuptools : <p>What is the right way to package Alembic migration files in a Setuptools <code>setup.py</code> file? Everything is in my repo root as <code>alembic/</code>.</p>

<p>This is a Python application, not a library.</p>

<p>My desired installation flow is that someone can <code>pip install</code> the wheel that is my application. They would then be able to initialize the application database by running something like <code>&lt;app&gt; alembic upgrade --sqlalchemy.url=&lt;db_url&gt;</code>. Upgrades would then require a <code>pip install -U</code>, after which they can run the Alembic command again.</p>

<p>Is this unorthodox?</p>

<p>If not, how would I accomplish this? Certainly a <code>console_scripts</code> <code>entry_points</code>. But beyond that?</p>
