{% set name = "DAWG" %}
{% set version = "0.7.8" %}
{% set sha256 = "30d5da3e48b8cbe5ec94c5a202d2962780d3895ba0883123e6788565f71b2953" %}

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

source:
  fn: {{ name }}-{{ version }}.tar.gz
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
  sha256: {{ sha256 }}

build:
  number: 0
  script: python setup.py install --single-version-externally-managed --record record.txt
  features:
    - vc9   # [win and py27]
    - vc14  # [win and py>=35]

requirements:
  build:
    - python
    - setuptools
  run:
    - python

test:
  imports:
    - dawg

about:
  home: https://github.com/pytries/DAWG
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: 'DAFSA-based dictionary-like read-only objects for Python'
  doc_url: http://dawg.readthedocs.io

extra:
  recipe-maintainers:
    - mcs07

{% set name = "DAWG" %}
{% set version = "0.7.8" %}
{% set sha256 = "30d5da3e48b8cbe5ec94c5a202d2962780d3895ba0883123e6788565f71b2953" %}

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

source:
  fn: {{ name }}-{{ version }}.tar.gz
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
  sha256: {{ sha256 }}

build:
  number: 0
  script: python setup.py install --single-version-externally-managed --record record.txt
  features:
    - vc9   # [win and py27]
    - vc14  # [win and py>=35]

requirements:
  build:
    - toolchain
    - python
    - setuptools
  run:
    - python

test:
  imports:
    - dawg

about:
  home: https://github.com/pytries/DAWG
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: 'DAFSA-based dictionary-like read-only objects for Python'
  doc_url: http://dawg.readthedocs.io

extra:
  recipe-maintainers:
    - mcs07

Add toolchain as build requirement
Add toolchain as build requirement
