{% set version = "0.3.6" %}
{% set md5 = "d4feb00ac5806d7640b2545a43974766" %}

package:
  name: ipython-sql
  version: {{ version }}

source:
  fn: ipython-sql-{{ version }}.tar.gz
  url: https://pypi.python.org/packages/source/i/ipython-sql/ipython-sql-{{ version }}.tar.gz
  md5: {{ md5 }}

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

requirements:
  build:
    - python
    - setuptools
    - prettytable
    - ipython >=1.0  # [not win]
    - ipython >=1.0  # [win and not py35]
    - ipython >=1.0,<5  # [win and py35]
    - sqlparse
    - six

  run:
    - python
    - prettytable
    - ipython >=1.0  # [not win]
    - ipython >=1.0  # [win and not py35]
    - ipython >=1.0,<5  # [win and py35]
    - sqlalchemy >=0.6.7
    - sqlparse
    - six

test:
  imports:
    - sql

about:
  home: pypi.python.org/pypi/ipython-sql
  license: MIT
  summary: 'RDBMS access via IPython'

extra:
  recipe-maintainers:
    - sodre

Add IPython-SQL to conda-forge - Win and Py35 require IPython<5
Add IPython-SQL to conda-forge
 - Win and Py35 require IPython<5
