HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/anaconda3/pkgs/cytoolz-0.12.2-py312h2bbff1b_0/info/recipe/meta.yaml.template
{% set name = "cytoolz" %}
{% set version = "0.12.2" %}

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

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

build:
  number: 0
  skip: True  # [py<35]
  script: {{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir --no-build-isolation -vv --global-option=--with-cython

requirements:
  build:
    - {{ compiler('c') }}
  host:
    - python
    - cython
    - pip
    - setuptools
    - wheel
  run:
    - python
    # Require toolz >=0.10.0, see https://github.com/conda-forge/cytoolz-feedstock/commit/81ab3dd10a4f60b81cf5dd91165d4faf55f3a73a
    - toolz >=0.10.0

test:
  imports:
    - cytoolz
    - cytoolz.curried
  requires:
    # Require gcc and cython to run the 'cyntonize' command
    - {{ compiler('c') }}
    - cython
    - pip
    - pytest
    - toolz
  commands:
    - pip check
    - pytest -v --doctest-modules --pyargs cytoolz
    # Make sure we can cimport cytoolz
    - echo 'cimport cytoolz ; from cytoolz.functoolz cimport memoize' > try_cimport_cytoolz.pyx  # [not win]
    - cythonize -i try_cimport_cytoolz.pyx    # [not win]
    - python -c 'import try_cimport_cytoolz'  # [not win]

about:
  home: https://github.com/pytoolz/cytoolz
  license: BSD-3-Clause
  license_family: BSD
  license_file: LICENSE.txt
  summary: Cython implementation of Toolz. High performance functional utilities
  description: |
    CyToolz is the Cython implementation of the toolz package, which provides
    high performance utility functions for iterables, functions, and
    dictionaries.
  doc_url: https://pypi.org/project/cytoolz/
  dev_url: https://github.com/pytoolz/cytoolz

extra:
  recipe-maintainers:
    - eriknw
    - mrocklin
    - jcrist
    - jakirkham