{% set version = "2.19.3" %}
{% set sha256 = "0c9df80e42f2ee68bea92001e7fcf612aa149910efe040eb757f5ce323250ae1" %}

package:
  name: imageio
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/i/imageio/imageio-{{ version }}.tar.gz
  sha256: {{ sha256 }}

build:
  number: 0
  skip: True  # [py<37]
  script: {{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv
  entry_points:
    - imageio_download_bin = imageio.__main__:download_bin_main
    - imageio_remove_bin = imageio.__main__:remove_bin_main

requirements:
  host:
    - pip
    - python
    - wheel
    - setuptools
  run:
    - python 
    - numpy
    - pillow >=8.3.2

test:
  imports:
    - imageio
    - imageio.config
  commands:
    - imageio_download_bin -h
    - imageio_remove_bin -h
    - pip check
  requires:
    - pip

about:
  home: https://imageio.github.io
  doc_url: https://imageio.readthedocs.io
  dev_url: https://github.com/imageio/imageio
  summary: A Python library for reading and writing image data
  license: BSD-2-Clause
  license_file: LICENSE
  license_family: BSD

extra:
  recipe-maintainers:
    - almarklein
    - blink1073
    - jni
