diff --git a/conda/conda_build_config.yaml b/conda/conda_build_config.yaml index 35246cd..1f026b6 100644 --- a/conda/conda_build_config.yaml +++ b/conda/conda_build_config.yaml @@ -1,11 +1,10 @@ python: + - 3.9 - 3.8 + - 3.7 numpy: - - 1.20 + - 1.19 gsl: - 2.4 - -pin_run_as_build: - gsl: x.x diff --git a/conda/meta.yaml b/conda/meta.yaml index 0993d98..a91f788 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -1,6 +1,6 @@ package: name: cosmotool - version: "1.2.2" + version: "1.2.3" source: git_rev: 03033b6 @@ -8,42 +8,40 @@ source: requirements: build: - - numpy {{ numpy }} + - python # [build_platform != target_platform] + - cross-python_{{ target_platform }} # [build_platform != target_platform] + - cython # [build_platform != target_platform] + - numpy # [build_platform != target_platform] - {{ compiler('c') }} - {{ compiler('cxx') }} - - python {{ python }} - - setuptools + + host: + - python + - pip + - numpy + - pkgconfig + - numexpr - cython - healpy - - numexpr - cffi - pyfftw - gsl {{ gsl }} - h5py - - host: - - python - - numexpr - - cython - - healpy - - cffi - - pyfftw - - gsl - - h5py - - numpy - run: - - numpy - python + - {{ pin_compatible('numpy') }} - healpy - numexpr - cffi - pyfftw - h5py + - {{ pin_compatible('gsl') }} test: imports: - cosmotool + requires: + - pip about: home: https://bitbucket.org/glavaux/cosmotool