aare/conda-recipe/meta.yaml
Erik Fröjdh 2e0424254c
removed uneccecary codna numpy variants (#165)
With numpy 2.0 we no longer need to build against every supported numpy
version. This way we can save up to 6 builds.

- https://numpy.org/doc/stable/dev/depending_on_numpy.html
-
https://conda-forge.org/docs/maintainer/knowledge_base/#building-against-numpy
2025-04-25 10:31:40 +02:00

46 lines
727 B
YAML

package:
name: aare
version: 2025.4.22 #TODO! how to not duplicate this?
source:
path: ..
build:
number: 0
script:
- unset CMAKE_GENERATOR && {{ PYTHON }} -m pip install . -vv
requirements:
build:
- {{ compiler('cxx') }}
- cmake
- ninja
host:
- python
- pip
- numpy=2.1
- scikit-build-core
- pybind11 >=2.13.0
- matplotlib # needed in host to solve the environment for run
run:
- python
- {{ pin_compatible('numpy') }}
- matplotlib
test:
imports:
- aare
requires:
- pytest
source_files:
- python/tests
commands:
- python -m pytest python/tests
about:
summary: Data analysis library for hybrid pixel detectors from PSI