mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-05-18 19:56:47 +02:00
7e6c6081dc
- Fixed failing conda builds (numpy >=2.1 and added pytest-check) - added cibuildwheel settings for osx - Bumped cibuildwheel to 3.4.0 in pipeline - build also for macos-latest - fixed conda workflow which was only on developer branch (now main and pr to main)
55 lines
969 B
YAML
55 lines
969 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('c') }}
|
|
- {{ stdlib("c") }}
|
|
- {{ 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
|
|
- pytest_check
|
|
- boost-histogram
|
|
source_files:
|
|
- python/tests
|
|
commands:
|
|
- python -m pytest python/tests
|
|
|
|
about:
|
|
license: SPDX-License-Identifier MPL-2.0
|
|
summary: Data analysis library for hybrid pixel detectors from PSI
|