From 0a7d799430899e133790f8a6eea8fdff3a2ba0a3 Mon Sep 17 00:00:00 2001 From: Peter-Metz Date: Thu, 16 Jan 2020 09:39:34 -0500 Subject: [PATCH] add files for conda build --- conda.recipe/bld.bat | 5 +++++ conda.recipe/build.sh | 10 ++++++++++ conda.recipe/meta.yaml | 25 +++++++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 conda.recipe/bld.bat create mode 100644 conda.recipe/build.sh create mode 100644 conda.recipe/meta.yaml diff --git a/conda.recipe/bld.bat b/conda.recipe/bld.bat new file mode 100644 index 0000000..bd73cb4 --- /dev/null +++ b/conda.recipe/bld.bat @@ -0,0 +1,5 @@ +@echo off + +SET BLD_DIR=%CD% +cd /D "%RECIPE_DIR%\.." +"%PYTHON%" setup.py install \ No newline at end of file diff --git a/conda.recipe/build.sh b/conda.recipe/build.sh new file mode 100644 index 0000000..25239cc --- /dev/null +++ b/conda.recipe/build.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +BLD_DIR=`pwd` + +# Recipe and source are stored together +SRC_DIR=$RECIPE_DIR/.. +pushd $SRC_DIR + +$PYTHON setup.py install +popd \ No newline at end of file diff --git a/conda.recipe/meta.yaml b/conda.recipe/meta.yaml new file mode 100644 index 0000000..d07ae52 --- /dev/null +++ b/conda.recipe/meta.yaml @@ -0,0 +1,25 @@ +package: + name: taxcrunch + version: 0.0.0 + +requirements: + build: + - python + - "taxcalc>=2.4.2" + - "behresp>=0.9.0" + - "paramtools>=0.10.1" + - ipython + + run: + - python + - "taxcalc>=2.4.2" + - "behresp>=0.9.0" + - "paramtools>=0.10.1" + - ipython + +test: + imports: + - taxcrunch + +about: + home: https://github.com/PSLmodels/Tax-Cruncher \ No newline at end of file