{% set version = "0.10" %}

package:
  name: glue-vispy-viewers
  version: {{version}}

source:
  fn: glue-vispy-viewers-{{version}}.tar.gz
  url: https://pypi.io/packages/source/g/glue-vispy-viewers/glue-vispy-viewers-{{version}}.tar.gz
  sha256: e76e8b470f3f7efaac9754e637b367f128f181b368931cc8c77002109c272a4a

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

requirements:

  host:
    - python
    - setuptools

  run:
    - python
    - numpy >=1.9
    - pyopengl
    - glue-core >=0.13
    - matplotlib
    - qtpy
    - scipy
    - astropy >=1.1
    - pyqt >=5.6,<6.0a0

test:
  imports:
    - glue_vispy_viewers
    - glue_vispy_viewers.scatter
    - glue_vispy_viewers.volume

about:
  home:  http://glueviz.org
  license: BSD 3-Clause
  summary: 3D viewers for Glue
  dev_url: https://github.com/glue-viz/glue-vispy-viewers
  doc_url: http://glueviz.org/en/stable/gui_guide/3d_viewers.html

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