Skip to content

Commit

Permalink
Try single category specification of dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanv committed Mar 28, 2023
1 parent 027f409 commit 8d80eb3
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,21 @@ build:
- skivi = skimage.scripts.skivi:main

requirements:
build:
- python # [build_platform != target_platform]
build: # native build platform
# See https://docs.conda.io/projects/conda-build/en/stable/resources/define-metadata.html#requirements-section
- cross-python_{{ target_platform }} # [build_platform != target_platform]
- cython # [build_platform != target_platform]
- numpy # [build_platform != target_platform]
- ninja # [build_platform != target_platform]
# pythran code needs clang-cl on windows
- clang # [win]
- {{ compiler("c") }}
- {{ compiler("cxx") }}
host:
- python
- pip
- cython >=0.29.24,!=0.29.18
host: # target platform emulator
- python # [build_platform == target_platform]
- meson-python
- ninja
- cython
- numpy
- pythran
- pip
- packaging >=20.0
run:
- python
Expand Down

0 comments on commit 8d80eb3

Please sign in to comment.