From 06b9b2291e2c200c9767306aed13c2b51cd0f4f5 Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Mon, 28 Sep 2020 13:30:48 +0200 Subject: [PATCH] Add first conda packaging instructions --- conda/build.sh | 1 + conda/conda_build_config.yaml | 7 +++++++ conda/meta.yaml | 38 +++++++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 conda/build.sh create mode 100644 conda/conda_build_config.yaml create mode 100644 conda/meta.yaml diff --git a/conda/build.sh b/conda/build.sh new file mode 100644 index 0000000..5a5aeeb --- /dev/null +++ b/conda/build.sh @@ -0,0 +1 @@ +$PYTHON setup.py install diff --git a/conda/conda_build_config.yaml b/conda/conda_build_config.yaml new file mode 100644 index 0000000..b120466 --- /dev/null +++ b/conda/conda_build_config.yaml @@ -0,0 +1,7 @@ +python: + - 3.7 + - 3.8 + +numpy: + - 1.11 + - 1.19 diff --git a/conda/meta.yaml b/conda/meta.yaml new file mode 100644 index 0000000..8cc271b --- /dev/null +++ b/conda/meta.yaml @@ -0,0 +1,38 @@ +package: + name: cosmotool + version: "1.0.0a7" + +source: + git_rev: 7fce73e + git_url: https://bitbucket.org/glavaux/cosmotool + +requirements: + build: + - numpy >=1.11 + - gcc_linux-64 + - gxx_linux-64 + - python + - setuptools + - cython + - healpy + - numexpr + - cffi + - pyfftw + - gsl + - h5py + + run: + - numpy + - python + - healpy + - numexpr + - cffi + - pyfftw + - h5py + +test: + imports: + - cosmotool + +about: + home: https://bitbucket.org/glavaux/cosmotool