mirror of
https://github.com/wassname/catalyst.git
synced 2026-08-20 12:10:30 +08:00
BLD: Build zipline conda package from source
This commit is contained in:
+21
-12
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user