Skip to content

Commit

Permalink
BLD: Bumped numexpr version and added conda recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
richafrank committed Mar 23, 2016
1 parent d2b6009 commit 2ee66e4
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 2 deletions.
3 changes: 2 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,11 @@ install:
- cmd: '%CMD_IN_ENV% conda build conda/bcolz --python=%CONDA_PY% --numpy=%CONDA_NPY% --skip-existing -c quantopian'
- cmd: '%CMD_IN_ENV% conda build conda/cyordereddict --python=%CONDA_PY% --numpy=%CONDA_NPY% --skip-existing -c quantopian'
- cmd: '%CMD_IN_ENV% conda build conda/logbook --python=%CONDA_PY% --numpy=%CONDA_NPY% --skip-existing -c quantopian'
- cmd: '%CMD_IN_ENV% conda build conda/numexpr --python=%CONDA_PY% --numpy=%CONDA_NPY% --skip-existing -c quantopian'
- cmd: '%CMD_IN_ENV% conda build conda/ta-lib --python=%CONDA_PY% --numpy=%CONDA_NPY% --skip-existing -c quantopian'
- cmd: '%CMD_IN_ENV% conda build conda/zipline --python=%CONDA_PY% --numpy=%CONDA_NPY% -c quantopian'

- cmd: conda create -n testenv --yes --use-local pip python=%PYTHON_VERSION% numpy=%NUMPY_VERSION% scipy=%SCIPY_VERSION% ta-lib=0.4.9 bcolz=0.12.1
- cmd: conda create -n testenv --yes --use-local pip python=%PYTHON_VERSION% numpy=%NUMPY_VERSION% scipy=%SCIPY_VERSION% ta-lib=0.4.9 bcolz=0.12.1 numexpr=2.4.6
- cmd: activate testenv
- cmd: pip install -r etc/requirements.txt
- cmd: pip install -r etc/requirements_dev.txt
Expand Down
8 changes: 8 additions & 0 deletions conda/numexpr/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
"%PYTHON%" setup.py install
if errorlevel 1 exit 1

:: Add more build steps here, if they are necessary.

:: See
:: https://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/numexpr/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

$PYTHON setup.py install

# Add more build steps here, if they are necessary.

# See
# https://docs.continuum.io/conda/build.html
# for a list of environment variables that are set during the build process.
22 changes: 22 additions & 0 deletions conda/numexpr/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package:
name: numexpr
version: "2.4.6"

source:
fn: numexpr-2.4.6.tar.gz
url: https://pypi.python.org/packages/source/n/numexpr/numexpr-2.4.6.tar.gz
md5: 17ac6fafc9ea1ce3eb970b9abccb4fbd

requirements:
build:
- python
- numpy x.x

run:
- python
- numpy x.x

test:
# Python imports
imports:
- numexpr
2 changes: 1 addition & 1 deletion etc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ decorator==4.0.0
networkx==1.9.1

# NumericalExpression pipeline terms.
numexpr==2.4.3
numexpr==2.4.6

# On disk storage format for pipeline data.
bcolz==0.12.1
Expand Down

0 comments on commit 2ee66e4

Please sign in to comment.