diff --git a/conda/alembic/bld.bat b/conda/alembic/bld.bat new file mode 100644 index 00000000..87b1481d --- /dev/null +++ b/conda/alembic/bld.bat @@ -0,0 +1,8 @@ +"%PYTHON%" setup.py install +if errorlevel 1 exit 1 + +:: Add more build steps here, if they are necessary. + +:: See +:: http://docs.continuum.io/conda/build.html +:: for a list of environment variables that are set during the build process. diff --git a/conda/alembic/build.sh b/conda/alembic/build.sh new file mode 100644 index 00000000..4d7fc032 --- /dev/null +++ b/conda/alembic/build.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +$PYTHON setup.py install + +# Add more build steps here, if they are necessary. + +# See +# http://docs.continuum.io/conda/build.html +# for a list of environment variables that are set during the build process. diff --git a/conda/alembic/meta.yaml b/conda/alembic/meta.yaml new file mode 100644 index 00000000..f0fa7254 --- /dev/null +++ b/conda/alembic/meta.yaml @@ -0,0 +1,73 @@ +package: + name: alembic + version: "0.7.7" + +source: + fn: alembic-0.7.7.tar.gz + url: https://pypi.python.org/packages/41/80/58c25d9a4e8321376a0231ef4cedd22f93c899c28c93bc236ca991a0f291/alembic-0.7.7.tar.gz + md5: 8bd77f40857100da2cdcb6f5da9a7f1c +# patches: + # List any patch files here + # - fix.patch + +build: + # noarch_python: True + # preserve_egg_dir: True + entry_points: + # Put any entry points (scripts to be generated automatically) here. The + # syntax is module:function. For example + # + # - alembic = alembic:main + # + # Would create an entry point called alembic that calls alembic.main() + + - alembic = alembic.config:main + + # If this is a new build for the same version, increment the build + # number. If you do not include this key, it defaults to 0. + # number: 1 + +requirements: + build: + - python + - setuptools + - sqlalchemy >=0.7.6 + - mako + + run: + - python + - sqlalchemy >=0.7.6 + - mako + +test: + # Python imports + imports: + - alembic + - alembic.autogenerate + - alembic.ddl + - alembic.testing + - alembic.testing.plugin + + commands: + # You can put test commands to be run here. Use this to test that the + # entry points work. + + - alembic --help + + # You can also put a file called run_test.py in the recipe that will be run + # at test time. + + requires: + - mock + - nose >=0.11 + # Put any additional test requirements here. For example + # - nose + +about: + home: http://bitbucket.org/zzzeek/alembic + license: MIT + summary: 'A database migration tool for SQLAlchemy.' + +# See +# http://docs.continuum.io/conda/build.html for +# more information about meta.yaml diff --git a/etc/requirements.txt b/etc/requirements.txt index 6a84565e..6e672d39 100644 --- a/etc/requirements.txt +++ b/etc/requirements.txt @@ -56,6 +56,8 @@ multipledispatch==0.4.8 # Asset writer and finder sqlalchemy==1.0.8 +# For asset db management +alembic==0.7.7 # for intervaltree sortedcontainers==1.4.4 diff --git a/etc/requirements_dev.txt b/etc/requirements_dev.txt index b88bd61b..38a44ae2 100644 --- a/etc/requirements_dev.txt +++ b/etc/requirements_dev.txt @@ -61,6 +61,3 @@ piprot==0.9.6 # For mocking out requests fetches responses==0.4.0 - -# For asset db management -alembic==0.7.7