{% set version = "0.1" %}

package:
  name: glue-geospatial
  version: {{version}}

source:
  fn: glue-geospatial-{{version}}.tar.gz
  url: https://pypi.io/packages/source/g/glue-geospatial/glue-geospatial-{{version}}.tar.gz
  sha256: 95e33a0b317f3df406acffd808112f852b04687b0b1062467e044e99634a30dc

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

requirements:

  build:
    - python
    - setuptools

  run:
    - python
    - numpy
    - astropy
    - pyproj
    - rasterio
    - affine
    - glue-core >=0.13

test:
  imports:
    - rasterio
    - glue_geospatial
    - glue_geospatial.data_factory
    - glue_geospatial.coordinates

about:
  home: https://github.com/glue-viz/glue-geospatial
  license: BSD 3-Clause
  summary: Geospatial plugin for glue

extra:
  recipe-maintainers:
    - astrofrog-conda-forge

{% set version = "0.1" %}

package:
  name: glue-geospatial
  version: {{version}}

source:
  fn: glue-geospatial-{{version}}.tar.gz
  url: https://pypi.io/packages/source/g/glue-geospatial/glue-geospatial-{{version}}.tar.gz
  sha256: 95e33a0b317f3df406acffd808112f852b04687b0b1062467e044e99634a30dc

build:
  number: 0
  script: python -m pip install --no-deps --ignore-installed .
  noarch: python

requirements:

  build:
    - python
    - pip

  run:
    - python
    - numpy
    - astropy
    - pyproj
    - rasterio
    - affine
    - glue-core >=0.13

test:
  imports:
    - rasterio
    - glue_geospatial
    - glue_geospatial.data_factory
    - glue_geospatial.coordinates

about:
  home: https://github.com/glue-viz/glue-geospatial
  license: BSD 3-Clause
  summary: Geospatial plugin for glue

extra:
  recipe-maintainers:
    - astrofrog-conda-forge

Use pip to build the package and make recipe noarch: python
Use pip to build the package and make recipe noarch: python