Skip to content

Commit

Permalink
Merge pull request #23908 from StRigaud/pyclesperanto
Browse files Browse the repository at this point in the history
  • Loading branch information
xhochy authored Oct 21, 2023
2 parents 63586fd + 2ace04e commit 8b8b5f3
Showing 1 changed file with 71 additions and 0 deletions.
71 changes: 71 additions & 0 deletions recipes/pyclesperanto/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{% set name = "pyclesperanto" %}
{% set version = "0.7.3" %}
{% set sha256 = "0e85a8ed94f5308ce9d5d27ec101ada44003a57015fd1f7e1f33b1ec71046bbe" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: {{ sha256 }}

build:
number: 1
script:
- CMAKE_GENERATOR="Ninja" {{ PYTHON }} -m pip install . -vv # [linux or osx]
- {{ PYTHON }} -m pip install . -vv # [win]

requirements:
build:
- python # [build_platform != target_platform]
- cross-python_{{ target_platform }} # [build_platform != target_platform]
- numpy # [build_platform != target_platform]
- pybind11 # [build_platform != target_platform]
- cmake
- ninja # [linux or osx]
- {{ compiler('cxx') }}

host:
- pip
- python
- scikit-build-core
- pybind11
- numpy
- khronos-opencl-icd-loader # [win or osx]
- ocl-icd # [linux]

run:
- python
- numpy
- toolz
- matplotlib-base
- khronos-opencl-icd-loader # [win or osx]
- ocl-icd # [linux]

test:
imports:
- pyclesperanto
requires:
- pytest
- pocl # [linux or osx]
- oclgrind # [win]
source_files:
- tests
commands:
- pytest tests

about:
home: https://pypi.org/project/pyclesperanto/
doc_url: https://clesperanto.github.io/pyclesperanto/
dev_url: https://github.com/clEsperanto/pyclesperanto/
license: BSD-3-Clause
license_file: LICENSE
summary: GPU-accelerated Image Processing library using OpenCL
description: |
pyclesperanto is the python package of clEsperanto - a multi-language framework for GPU-accelerated image processing.
clEsperanto uses OpenCL kernels extended with CLIJ custom syntax.
extra:
recipe-maintainers:
- StRigaud
- haesleinhuepf

0 comments on commit 8b8b5f3

Please sign in to comment.