mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-05 12:30:39 +02:00

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
46 lines
727 B
YAML
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
|