# conda recipe for the optional compiled kernels of SimurgArray (Rust, PyO3; abi3 for Python >= 3.12). # conda build packaging/conda/simurg-core -c conda-forge {% set version = load_file_regex(load_file="Cargo.toml", regex_pattern='version = "([^"]+)"', from_recipe_dir=False).group(1) %} package: name: simurg-core version: {{ version }} source: path: ../../../rust/simurg-core build: number: 0 skip: true # [win] script: {{ PYTHON }} -m pip install . --no-deps -vv requirements: build: - {{ compiler('c') }} - {{ compiler('rust') }} host: - python >=3.12 - pip - maturin >=1.7,<2 run: - python >=3.12 - numpy >=1.26 test: imports: - simurg_core commands: - python -c "import simurg_core, numpy as np; assert simurg_core.log10(np.array([0.0]))[0] == -np.inf" about: summary: Optional compiled kernels of SimurgArray (results identical to the pure-Python paths) license: MIT license_file: - LICENSE - NOTICE