Skip to content

Commit

Permalink
BLD: alembic is now a production requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
richafrank committed Aug 24, 2016
1 parent 9500289 commit 4bcb5f8
Show file tree
Hide file tree
Showing 5 changed files with 92 additions and 3 deletions.
8 changes: 8 additions & 0 deletions 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.
9 changes: 9 additions & 0 deletions 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.
73 changes: 73 additions & 0 deletions 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
2 changes: 2 additions & 0 deletions etc/requirements.txt
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions etc/requirements_dev.txt
Expand Up @@ -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

0 comments on commit 4bcb5f8

Please sign in to comment.