{% set version = "1.2.6" %}

package:
    name: pyresample
    version: {{ version }}

source:
    fn: pyresample-{{ version }}.tar.gz
    url: https://github.com/pytroll/pyresample/archive/v{{ version }}.tar.gz
    sha256: 8a0da50582358933d3fd0c88ca2cad1ba572dc19fc4474b0c3ccaed448dee768

build:
    number: 0
    script: python setup.py install --single-version-externally-managed --record record.txt

requirements:
    build:
        - python
        - setuptools
        - numpy x.x
    run:
        - python
        - scipy
        - pyproj
        - numpy x.x
        - configobj
        - pykdtree  # [not win]
        - numexpr
        - matplotlib
        - basemap
        - pillow

test:
    imports:
        - pyresample

about:
  home: https://github.com/pytroll/pyresample/
  license: LGPL-3.0
  summary: Resampling of remote sensing data in Python

extra:
    recipe-maintainers:
        - ocefpaf
        - davidh-ssec

{% set version = "1.2.6" %}

package:
    name: pyresample
    version: {{ version }}

source:
    fn: pyresample-{{ version }}.tar.gz
    url: https://github.com/pytroll/pyresample/archive/v{{ version }}.tar.gz
    sha256: 8a0da50582358933d3fd0c88ca2cad1ba572dc19fc4474b0c3ccaed448dee768

build:
    number: 1
    script: python setup.py install --single-version-externally-managed --record record.txt

requirements:
    build:
        - python
        - setuptools
        - numpy x.x
    run:
        - python
        - scipy
        - pyproj
        - numpy x.x
        - configobj
        - pykdtree
        - numexpr
        - matplotlib
        - basemap
        - pillow

test:
    imports:
        - pyresample

about:
  home: https://github.com/pytroll/pyresample/
  license: LGPL-3.0
  summary: Resampling of remote sensing data in Python

extra:
    recipe-maintainers:
        - ocefpaf
        - davidh-ssec

Allow pykdtree requirement on Windows
Allow pykdtree requirement on Windows
