Fix conda package builder

This commit is contained in:
Guilhem Lavaux 2021-06-20 13:13:35 +02:00
parent f412a9b442
commit c416ff751f
2 changed files with 19 additions and 22 deletions

View File

@ -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

View File

@ -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