{% set version = "0.9.3" %}

package:
  name: lmfit
  version: {{ version }}

source:
  url: https://github.com/lmfit/lmfit-py/archive/{{ version }}.tar.gz
  fn: lmfit-{{ version }}.tar.gz
  sha256: e15c629b30cd70da525db6e66e3532d923a95e7a5f183906c83badf22c6be70c

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

requirements:
  build:
    - python
    - numpy
    - scipy

  run:
    - emcee
    - numpy
    - python
    - scipy

test:
  requires:
    - nose
    - pandas
    - matplotlib
    - ipython
    - ipywidgets
  commands:
    - nosetests -sv {{ environ.SRC_DIR }}
  imports:
    - lmfit

about:
  home: http://lmfit.github.io/lmfit-py/
  license: lmfit
  license_family: BSD 
  summary: >
      Non-Linear Least Squares Minimization, with flexible Parameter
      settings, based on scipy.optimize.leastsq, and with many additional
      classes and methods for curve fitting http:/lmfit.github.io/lmfit-py/

extra:
  recipe-maintainers:
    - ericdill
    - tacaswell
    - licode
    - newville

{% set version = "0.9.3" %}

package:
  name: lmfit
  version: {{ version }}

source:
  url: https://github.com/lmfit/lmfit-py/archive/{{ version }}.tar.gz
  fn: lmfit-{{ version }}.tar.gz
  sha256: e15c629b30cd70da525db6e66e3532d923a95e7a5f183906c83badf22c6be70c

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

requirements:
  build:
    - python
    - numpy
    - scipy

  run:
    - emcee
    - numpy
    - python
    - scipy

test:
  requires:
    - nose
  commands:
    - nosetests -sv {{ environ.SRC_DIR }}
  imports:
    - lmfit

about:
  home: http://lmfit.github.io/lmfit-py/
  license: lmfit
  license_family: BSD 
  summary: >
      Non-Linear Least Squares Minimization, with flexible Parameter
      settings, based on scipy.optimize.leastsq, and with many additional
      classes and methods for curve fitting http:/lmfit.github.io/lmfit-py/

extra:
  recipe-maintainers:
    - ericdill
    - tacaswell
    - licode
    - newville

Remove optional deps from test requires
Remove optional deps from test requires
