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: python:
- 3.9
- 3.8 - 3.8
- 3.7
numpy: numpy:
- 1.20 - 1.19
gsl: gsl:
- 2.4 - 2.4
pin_run_as_build:
gsl: x.x

View File

@ -1,6 +1,6 @@
package: package:
name: cosmotool name: cosmotool
version: "1.2.2" version: "1.2.3"
source: source:
git_rev: 03033b6 git_rev: 03033b6
@ -8,42 +8,40 @@ source:
requirements: requirements:
build: 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('c') }}
- {{ compiler('cxx') }} - {{ compiler('cxx') }}
- python {{ python }}
- setuptools host:
- python
- pip
- numpy
- pkgconfig
- numexpr
- cython - cython
- healpy - healpy
- numexpr
- cffi - cffi
- pyfftw - pyfftw
- gsl {{ gsl }} - gsl {{ gsl }}
- h5py - h5py
host:
- python
- numexpr
- cython
- healpy
- cffi
- pyfftw
- gsl
- h5py
- numpy
run: run:
- numpy
- python - python
- {{ pin_compatible('numpy') }}
- healpy - healpy
- numexpr - numexpr
- cffi - cffi
- pyfftw - pyfftw
- h5py - h5py
- {{ pin_compatible('gsl') }}
test: test:
imports: imports:
- cosmotool - cosmotool
requires:
- pip
about: about:
home: https://bitbucket.org/glavaux/cosmotool home: https://bitbucket.org/glavaux/cosmotool