BLD: alembic is now a production requirement

This commit is contained in:
Richard Frank
2016-08-24 09:59:48 -04:00
parent 1f9cb8ed9f
commit 317c5f07cc
5 changed files with 92 additions and 3 deletions
+8
View File
@@ -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.
+9
View File
@@ -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.
+73
View File
@@ -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
+2
View File
@@ -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
-3
View File
@@ -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