From b79a125c2967ab78596fe0f069a3cad3b17b7a6b Mon Sep 17 00:00:00 2001 From: changliao1025 Date: Mon, 8 May 2023 16:58:38 -0700 Subject: [PATCH] update yaml for conda --- meta.yaml | 34 ++++++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/meta.yaml b/meta.yaml index f2d918f..db45c4d 100644 --- a/meta.yaml +++ b/meta.yaml @@ -1,20 +1,42 @@ package: name: "hexwatershed" - version: "20210415" + version: "0.2.0" source: - git_rev: v20210415 + git_rev: v0.2.0 git_url: https://github.com/changliao1025/pyhexwatershed +build: + # Define custom build commands + host: + platform: linux-64 + script: + - python setup.py build_external + # Build the package for macOS (64-bit) + host: + platform: osx-64 + script: + - python setup.py build_external + host: + platform: win-64 + script: + - python setup.py build_external + requirements: host: - - python - - setuptools + - linux-64 + - osx-64 + - win-64 build: - - python + - python + - packaging + - setuptool run: - python - - gdal==3.2 + - packaging + - numpy + - matplotlib + - gdal - pyflowline about: