From 71421d940342024048619e85c2bcd0c1b4560b39 Mon Sep 17 00:00:00 2001 From: jreback Date: Thu, 18 Dec 2014 14:44:39 -0500 Subject: [PATCH] BLD: add conda recipe (GH8934) --- .binstar.yml | 38 ++++++++++++++++++++++++++++++++++++++ conda.recipe/bld.bat | 2 ++ conda.recipe/build.sh | 2 ++ conda.recipe/meta.yaml | 38 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 80 insertions(+) create mode 100644 .binstar.yml create mode 100644 conda.recipe/bld.bat create mode 100644 conda.recipe/build.sh create mode 100644 conda.recipe/meta.yaml diff --git a/.binstar.yml b/.binstar.yml new file mode 100644 index 0000000000000..6f7c2c5ba4c7a --- /dev/null +++ b/.binstar.yml @@ -0,0 +1,38 @@ +package: pandas +user: jreback + +platform: + #- osx-64 + #- linux-32 + - linux-64 + - win-64 + #- win-32 + +engine: + #- python=2.6 + - python=2.7 + #- python=3.3 + #- python=3.4 + +before_script: + - python -V + +script: + - conda build conda.recipe --quiet + +iotimeout: 600 + +build_targets: conda + +notifications: + email: + recipients: ['jeff@reback.net'] + +--- +platform: win-32 +engine: python=2.6 +exclude: true +--- +platform: win-64 +engine: python=2.6 +exclude: true diff --git a/conda.recipe/bld.bat b/conda.recipe/bld.bat new file mode 100644 index 0000000000000..cc977c65dcbe1 --- /dev/null +++ b/conda.recipe/bld.bat @@ -0,0 +1,2 @@ +@echo off +%PYTHON% setup.py install --quiet diff --git a/conda.recipe/build.sh b/conda.recipe/build.sh new file mode 100644 index 0000000000000..bce23bf0c6549 --- /dev/null +++ b/conda.recipe/build.sh @@ -0,0 +1,2 @@ +#!/bin/bash +$PYTHON setup.py install --quiet diff --git a/conda.recipe/meta.yaml b/conda.recipe/meta.yaml new file mode 100644 index 0000000000000..6817fbc9b43e0 --- /dev/null +++ b/conda.recipe/meta.yaml @@ -0,0 +1,38 @@ +package: + name: pandas + version: {{ environ.get('GIT_DESCRIBE_TAG', '') }} + +build: + number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }} + +source: + git_url: ../ + +requirements: + build: + - python + - cython + - libpython # [win] + - numpy + - setuptools + - pytz + - dateutil + + run: + - python + - numpy + - libpython # [win] + - dateutil + - pytz + +test: + requires: + - nose + - coverage + + commands: + - python -c "import pandas" + +about: + home: http://pandas.pydata.org + license: BSD