{% set name = "slipcover" %}
{% set version = "0.2.0" %}

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

source:
  - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/slipcover-{{ version }}.tar.gz
    sha256: 80433ab2ccc9d2cda69f3c5adca4d978c34f13efb551c36e32657598b8c207be
  # missing file from 0.2.0 sdist required for build
  # fixed in:
  # https://github.com/plasma-umass/slipcover/pull/31
  - path: pyptr.h

build:
  skip: true  # [py>=312 or py2k]
  script: {{ PYTHON }} -m pip install . -vv
  number: 0

requirements:
  build:
    - {{ compiler('c') }}
  host:
    - pip
    - python
  run:
    - python
    - tabulate

test:
  imports:
    - slipcover
  commands:
    - pip check
  requires:
    - pip

about:
  home: https://github.com/plasma-umass/slipcover
  summary: Near Zero-Overhead Python Code Coverage
  license: Apache-2.0
  license_file: LICENSE

extra:
  recipe-maintainers:
    - asford

{% set name = "slipcover" %}
{% set version = "0.2.0" %}

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

source:
  - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/slipcover-{{ version }}.tar.gz
    sha256: 80433ab2ccc9d2cda69f3c5adca4d978c34f13efb551c36e32657598b8c207be
  # missing file from 0.2.0 sdist required for build
  # fixed in:
  # https://github.com/plasma-umass/slipcover/pull/31
  - path: pyptr.h

build:
  skip: true  # [py>=312 or py2k]
  script: {{ PYTHON }} -m pip install . -vv
  number: 0

requirements:
  build:
    - {{ compiler('c') }}
    - setuptools
  host:
    - pip
    - python
  run:
    - python
    - tabulate

test:
  imports:
    - slipcover
  commands:
    - pip check
  requires:
    - pip

about:
  home: https://github.com/plasma-umass/slipcover
  summary: Near Zero-Overhead Python Code Coverage
  license: Apache-2.0
  license_file: LICENSE

extra:
  recipe-maintainers:
    - asford

Add setuptools to build env
Add setuptools to build env
