python - Include alembic as part of a custom installer script, to create or upgrade database? -


i sending users python script install our product. part of installation, want able create set of database tables well.

it seems alembic perfect job; because each upgrade of our product, have alembic upgrade database.

in order make simple our users, there way to:

  • include alembic part of our distribution, without forcing end user run pip install it?
  • call alembic python script, can in python (without having create bat or sh file)?

this has run cross-platform, platform-dependent steps of installation (e.g, running "make") less desireable.


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -