{% set name = "eudist" %}
{% set version = "0.1.4" %}

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

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/eudist-{{ version }}.tar.gz
  sha256: 587caf9ab5e204b4c86a2f75551a973f37059fe146ca93a44270fc2279218a45

build:
  script:
    - python setup.py build_ext --inplace
    - {{ PYTHON }} -m pip install . -vv
  number: 0

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
  host:
    - python
    - numpy
    - cython
    - setuptools-scm
    - setuptools >=42
    - setuptools-scm >=3.4
    - setuptools_scm_git_archive
    - pip
  run:
    - python
    - {{ pin_compatible('numpy') }}

test:
  imports:
    - eudist
  commands:
    - pytest -m eudist
  requires:
    - pip
    - pytest

about:
  home: https://github.com/dschwoerer/eudist
  summary: Calculate distances between simple shapes such as polygons.
  license: GPL-3.0-or-later
  license_file: COPYING

extra:
  recipe-maintainers:
    - dschwoerer
    - johnomotani

{% set name = "eudist" %}
{% set version = "0.1.4" %}

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

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/eudist-{{ version }}.tar.gz
  sha256: 587caf9ab5e204b4c86a2f75551a973f37059fe146ca93a44270fc2279218a45

build:
  script: {{ PYTHON }} -m pip install . -vv
  number: 0

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
  host:
    - python
    - numpy
    - cython
    - setuptools-scm
    - setuptools >=42
    - setuptools-scm >=3.4
    - setuptools_scm_git_archive
    - pip
  run:
    - python
    - {{ pin_compatible('numpy') }}

test:
  imports:
    - eudist
  commands:
    - pytest -m eudist
  requires:
    - pip
    - pytest

about:
  home: https://github.com/dschwoerer/eudist
  summary: Calculate distances between simple shapes such as polygons.
  license: GPL-3.0-or-later
  license_file: COPYING

extra:
  recipe-maintainers:
    - dschwoerer
    - johnomotani

Revert "Add compilation step in install"
Revert "Add compilation step in install"

This reverts commit 4658b3f40efdfef6699310ce813f86aa2527c67c.

Does not seem to have been necessary to get Cython file compiled.
