mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-05 04:20:40 +02:00
- updated dev-env.yml conda environment file - added boost-histogram as a requirement for the python tests - added environment file in conda build process
47 lines
750 B
YAML
47 lines
750 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
|
|
- boost-histogram
|
|
source_files:
|
|
- python/tests
|
|
commands:
|
|
- python -m pytest python/tests
|
|
|
|
about:
|
|
summary: Data analysis library for hybrid pixel detectors from PSI
|