BLD: Build zipline conda package from source

This commit is contained in:
Richard Frank
2015-12-31 12:47:43 -05:00
parent 7a6ba4f249
commit 9896c3cdb6
2 changed files with 50 additions and 25 deletions
+21 -12
View File
@@ -1,28 +1,37 @@
{% set data = load_setuptools() %}
package:
name: zipline
version: 0.8.3
version: {{ environ.get('GIT_DESCRIBE_TAG', '')}}
build:
number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }}
{% if environ.get('GIT_DESCRIBE_NUMBER', '0') == '0' %}string: py{{ environ.get('PY_VER').replace('.', '') }}_0
{% else %}string: py{{ environ.get('PY_VER').replace('.', '') }}_{{ environ.get('GIT_BUILD_STR', 'GIT_STUB') }}{% endif %}
source:
fn: zipline-0.8.3.tar.gz
url: https://pypi.python.org/packages/source/z/zipline/zipline-0.8.3.tar.gz
md5: 042ffcee614d2279add9a1bfd27a33cf
git_url: ../../
requirements:
build:
- python
- setuptools
- cython
- cython ==0.22.1
- numpy ==1.9.2
run:
- python
- pytz
- requests
- numpy
- pandas
- scipy
- matplotlib
- logbook
{% for req in data.get('install_requires', []) -%}
- {{req}}
{% endfor %}
test:
{# When we include the tests module in the zipline package, we can use this:
requires:
{% for req in data.get('extras_require', {}).get('dev', []) -%}
- {{req}}
{% endfor %}
#}
# Python imports
imports:
- zipline