-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23908 from StRigaud/pyclesperanto
- Loading branch information
Showing
1 changed file
with
71 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |