separated the recipes

This commit is contained in:
Fröjd Lars Erik
2025-03-19 21:49:12 +01:00
parent 2f390971e6
commit 4f62b1a05c
15 changed files with 227 additions and 194 deletions

View File

@ -0,0 +1,26 @@
python:
# - 3.8
# - 3.9
# - 3.10
# - 3.11
# - 3.12
- 3.13
c_compiler:
- gcc # [linux]
c_compiler_version:
- 13 # [linux]
c_stdlib:
- sysroot # [linux]
cxx_compiler:
- gxx # [linux]
cxx_compiler_version:
- 13 # [linux]
c_stdlib_version: # [linux]
- 2.17 # [linux]

View File

@ -0,0 +1,46 @@
package:
name: slsdet
version: 2025.2.18 #TODO! how to not duplicate this?
source:
path: ../..
build:
number: 0
script:
- unset CMAKE_GENERATOR && {{ PYTHON }} -m pip install . -vv # [not win]
- {{ PYTHON }} -m pip install . -vv # [win]
requirements:
build:
- python {{python}}
- {{ compiler('c') }}
- {{ stdlib("c") }}
- {{ compiler('cxx') }}
host:
- cmake
- ninja
- python {{python}}
- pip
- scikit-build-core
- pybind11 >=2.13.0
- fmt
- zeromq
- nlohmann_json
- catch2
run:
- python {{python}}
- numpy
test:
imports:
- slsdet
about:
summary: An example project built with pybind11 and scikit-build.
# license_file: LICENSE