{% set name = "upolygon" %}
{% set version = "0.1.6" %}

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

source:
  url: https://github.com/v7labs/upolygon/archive/v{{ version }}.tar.gz
  sha256: dbd670e99ed81eae0bd67ebb51705be297c9c2ced4425829a8e22afcb0a60a3a

build:
  number: 0
  skip: true   # [py2k]
  script: {{ PYTHON }} -m pip install . -vv  # [win]
  script: USE_CYTHON=true {{ PYTHON }} -m pip install . -vv  # [not win]

requirements:
  build:
    - {{ compiler('c') }}
  host:
    - cython  # [not win]
    - pip
    - python
    - setuptools
  run:
    - python
    - numpy

test:
  source_files:
    - tests
  imports:
    - upolygon
  commands:
    - pip check
    - pytest
  requires:
    - pip
    - pytest
    - numpy

about:
  home: https://github.com/v7labs/upolygon
  summary: Collection of fast polygon operations for DL
  license: MIT
  license_file: LICENSE

extra:
  recipe-maintainers:
    - hajapy

{% set name = "upolygon" %}
{% set version = "0.1.6" %}

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

source:
  url: https://github.com/v7labs/upolygon/archive/v{{ version }}.tar.gz
  sha256: dbd670e99ed81eae0bd67ebb51705be297c9c2ced4425829a8e22afcb0a60a3a

build:
  number: 0
  skip: true   # [py2k]
  script: {{ PYTHON }} -m pip install . -vv  # [win]
  script: USE_CYTHON=true {{ PYTHON }} -m pip install . -vv  # [not win]

requirements:
  build:
    - {{ compiler('c') }}
  host:
    - cython  # [not win]
    - pip
    - python
    - setuptools
  run:
    - python
    - numpy

test:
  source_files:
    - tests
  imports:
    - upolygon
  commands:
    - pip check
    - pytest
  requires:
    - pip
    - pytest
    - numpy

about:
  home: https://github.com/v7labs/upolygon
  summary: Collection of fast polygon operations for DL
  license: MIT
  license_file: LICENSE

extra:
  recipe-maintainers:
    - hajapy
    - simedw

Add simedw as a maintainer
Add simedw as a maintainer
