{% set name = "pygix" %}
{% set version = "2021.10.06" %}

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

source:
  url: https://github.com/NSLS-II-SMI/pygix/archive/refs/tags/{{ version }}.tar.gz
  sha256: b98e44bca1afbdd33b8411542d49bb1edad658630dc85814882b712736aa880d

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

requirements:
  host:
    - python
    - pip
  run:
    - python
    - numpy
    - cython
    - fabio
    - pyFAI
    - sphinx
    - sphinxcontrib-programoutput

test:
  imports:
    - pygix
  requires:
    - pip
  commands:
    - pip check

about:
  home: https://github.com/tgdane/pygix
  summary: A python library for reduction of 2-dimensional grazing-incidence and fibre diffraction data
  license: MIT
  license_file: LICENSE
  dev_url: https://github.com/NSLS-II-SMI/pygix

extra:
  recipe-maintainers:
    - mrakitin

{% set name = "pygix" %}
{% set version = "2021.10.06" %}

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

source:
  url: https://github.com/NSLS-II-SMI/pygix/archive/refs/tags/{{ version }}.tar.gz
  sha256: b98e44bca1afbdd33b8411542d49bb1edad658630dc85814882b712736aa880d

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

requirements:
  host:
    - python
    - pip
    - numpy
  run:
    - python
    - numpy
    - cython
    - fabio
    - pyFAI
    - sphinx
    - sphinxcontrib-programoutput

test:
  imports:
    - pygix
  requires:
    - pip
  commands:
    - pip check

about:
  home: https://github.com/tgdane/pygix
  summary: A python library for reduction of 2-dimensional grazing-incidence and fibre diffraction data
  license: MIT
  license_file: LICENSE
  dev_url: https://github.com/NSLS-II-SMI/pygix

extra:
  recipe-maintainers:
    - mrakitin

Add numpy to host requirements (needed by `setup.py`)
Add numpy to host requirements (needed by `setup.py`)
