{% set name = "astroid" %}
{% set version = "1.4.8" %}
{% set sha256 = "5f064785a7e45ed519285f2eb30b795e58a4932a0736b32030da6fef3394ddb3" %}

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

requirements:
  build:
    - python
    - setuptools
    - six
    - lazy-object-proxy
    - wrapt

  run:
    - python
    - six
    - lazy-object-proxy
    - wrapt

test:
  imports:
    - astroid
    - astroid.tests

about:
  home: https://github.com/PyCQA/astroid
  license: LGPL 2.1
  summary: 'A abstract syntax tree for Python with inference support.'

extra:
  recipe-maintainers:
    - jakirkham

{% set name = "astroid" %}
{% set version = "1.4.8" %}
{% set sha256 = "5f064785a7e45ed519285f2eb30b795e58a4932a0736b32030da6fef3394ddb3" %}

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

requirements:
  build:
    - python
    - setuptools
    - six
    - lazy-object-proxy
    - wrapt

  run:
    - python
    - setuptools
    - six
    - lazy-object-proxy
    - wrapt

test:
  imports:
    - astroid
    - astroid.tests
    # import modutils to expose the setuptools runtime requirement
    - astroid.modutils

about:
  home: https://github.com/PyCQA/astroid
  license: LGPL 2.1
  summary: 'A abstract syntax tree for Python with inference support.'

extra:
  recipe-maintainers:
    - jakirkham

Add setuptools as a runtime requirement
Add setuptools as a runtime requirement

conda-forge is not packaging setuptools as part of python 3.5.  As such,
python3.5 that comes from conda forge now needs explicit runtime
dependencies on setuptools to be listed.
