mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-03 19:40:40 +02:00

Co-authored-by: Patrick <patrick.sieberer@psi.ch> Co-authored-by: JulianHeymes <julian.heymes@psi.ch> Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch> Co-authored-by: Xiangyu Xie <45243914+xiangyuxie@users.noreply.github.com> Co-authored-by: xiangyu.xie <xiangyu.xie@psi.ch> Co-authored-by: AliceMazzoleni99 <alice.mazzoleni@psi.ch> Co-authored-by: Mazzoleni Alice Francesca <mazzol_a@pc17378.psi.ch> Co-authored-by: siebsi <sieb.patr@gmail.com>
51 lines
855 B
YAML
51 lines
855 B
YAML
source:
|
|
path: ../
|
|
|
|
{% set version = load_file_regex(load_file = 'VERSION', regex_pattern = '(\d+(?:\.\d+)*(?:[\+\w\.]+))').group(1) %}
|
|
package:
|
|
name: aare
|
|
version: {{version}}
|
|
|
|
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
|