-
Notifications
You must be signed in to change notification settings - Fork 6
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 #105 from clEsperanto/patch-0.7.1
post release debuging
- Loading branch information
Showing
6 changed files
with
122 additions
and
11 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,45 @@ | ||
name: Conda | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
platform: [ubuntu-latest, macos-latest, windows-latest] | ||
python-version: ["3.10"] | ||
|
||
runs-on: ${{ matrix.platform }} | ||
|
||
# The setup-miniconda action needs this to activate miniconda | ||
defaults: | ||
run: | ||
shell: "bash -l {0}" | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Get conda | ||
uses: conda-incubator/[email protected] | ||
with: | ||
miniconda-version: "latest" | ||
auto-update-conda: true | ||
python-version: ${{ matrix.python-version }} | ||
channels: conda-forge | ||
|
||
- name: Prepare | ||
run: conda install conda-build conda-verify pytest | ||
|
||
- name: Build | ||
run: conda build conda.recipe | ||
|
||
- name: Install | ||
run: conda install -c ${CONDA_PREFIX}/conda-bld/ pyclesperanto | ||
|
||
- name: Test | ||
run: pytest tests |
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
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
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,63 @@ | ||
{% set name = "pyclesperanto" %} | ||
{% set version = "0.7.1" %} | ||
{% set sha256 = "5e4273fb1b89c2df6cbf850903512d0334945ae3c863b1b8da5d88e357700529" %} | ||
{% set build_number = 0 %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
# fn: {{ name }}-{{ version }}.tar.gz | ||
# url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz | ||
# sha256: {{ sha256 }} | ||
path: .. | ||
|
||
build: | ||
number: {{ build_number }} | ||
script: {{ PYTHON }} -m pip install . -vv | ||
|
||
requirements: | ||
build: | ||
- python | ||
- {{ compiler('cxx') }} | ||
# - {{ compiler('m2w64_cxx') }} # [win and vc<14] | ||
host: | ||
- python | ||
# - libpython # [win and vc<14] | ||
- scikit-build-core | ||
- pybind11 | ||
- cmake | ||
- khronos-opencl-icd-loader # [win or osx] | ||
- ocl-icd # [linux] | ||
run: | ||
- python | ||
- numpy | ||
- toolz | ||
- matplotlib | ||
- khronos-opencl-icd-loader # [win or osx] | ||
- ocl-icd # [linux] | ||
|
||
test: | ||
imports: | ||
- pyclesperanto | ||
requires: | ||
- pytest | ||
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 from CLIJ. This package relies on the CLIc back-end for processing. | ||
extra: | ||
recipe-maintainers: | ||
- StRigaud |
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
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ authors = [ | |
{ name = "Stephane Rigaud", email = "[email protected]" }, | ||
{ name = "Robert Haase", email = "[email protected]" }, | ||
] | ||
requires-python = ">=3.8" | ||
requires-python = ">=3.7" | ||
classifiers = [ | ||
"Development Status :: 2 - Pre-Alpha", | ||
"Intended Audience :: Science/Research", | ||
|
@@ -30,9 +30,9 @@ classifiers = [ | |
"License :: OSI Approved :: BSD License", | ||
] | ||
dependencies = [ | ||
"numpy; python_version >='3.8'", | ||
"toolz; python_version >='3.8'", | ||
"matplotlib; python_version >='3.8'", | ||
"numpy; python_version >='3.7'", | ||
"toolz; python_version >='3.7'", | ||
"matplotlib; python_version >='3.7'", | ||
] | ||
|
||
[project.urls] | ||
|
@@ -46,7 +46,7 @@ addopts = "-ra -q" | |
testpaths = ["tests"] | ||
|
||
[tool.cibuildwheel] | ||
build = ["cp38-*", "cp39-*", "cp310-*", "cp311-*"] | ||
build = ["cp37-*", "cp38-*", "cp39-*", "cp310-*", "cp311-*"] | ||
build-frontend = "build" | ||
build-verbosity = 1 | ||
test-command = "pytest {project}/tests/test_import.py" | ||
|