{% set sdata = load_setup_py_data() %}

package:
  name: pyct-core
  version: {{ sdata['version'] }}

source:
  path: ../..

build:
  noarch: python
  script: python setup.py install --single-version-externally-managed --record=record.txt

requirements:
  run_constrained:
    - pyct {{ sdata['version'] }}
  host:
    - python
    - setuptools >=30.3.0
    - param >=1.7.0
  run:
    - python {{ sdata['python_requires'] }}
    {% for dep in sdata.get('install_requires',{}) %}
    - {{ dep }}
    {% endfor %}

test:
  imports:
    - pyct
    - pyct.build

about:
  home: {{ sdata['url'] }}
  summary: {{ sdata['description'] }}
  license: {{ sdata['license'] }}
