{% set name = "cmdstanpy" %}
{% set version = "0.9.75" %}


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

source:
  url: https://github.com/stan-dev/cmdstanpy/archive/v{{ version }}.tar.gz
  sha256: 3eede296981e2e6ad674699efdb358ce7da3e4f2add628ee4b377ef893405168

build:
  number: 0
  skip: True  # [py<37]
  script: {{ PYTHON }} -m pip install . -vv

requirements:
  host:
    - pip
    - python
  run:
    - pandas
    - numpy >=1.15,!=1.19.4
    - ujson

test:
  imports:
    - cmdstanpy
  commands:
    - pip check
  requires:
    - pip

about:
  home: https://mc-stan.org/users/interfaces/cmdstan.html
  dev_url: https://github.com/stan-dev/cmdstan
  doc_url: https://cmdstanpy.readthedocs.io
  summary: |
    CmdStanPy is a lightweight interface to Stan for Python users which
    provides the necessary objects and functions to compile a Stan program
    and fit the model to data using CmdStan.
  license: BSD-3-Clause
  license_file: LICENSE.md

extra:
  recipe-maintainers:
    - maresb

{% set name = "cmdstanpy" %}
{% set version = "0.9.75" %}


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

source:
  url: https://github.com/stan-dev/cmdstanpy/archive/v{{ version }}.tar.gz
  sha256: 3eede296981e2e6ad674699efdb358ce7da3e4f2add628ee4b377ef893405168

build:
  number: 0
  skip: True  # [py<37]
  script: {{ PYTHON }} -m pip install . -vv

requirements:
  host:
    - pip
    - python
  run:
    - python
    - pandas
    - numpy >=1.15,!=1.19.4
    - ujson

test:
  imports:
    - cmdstanpy
  commands:
    - pip check
  requires:
    - pip

about:
  home: https://mc-stan.org/users/interfaces/cmdstan.html
  dev_url: https://github.com/stan-dev/cmdstan
  doc_url: https://cmdstanpy.readthedocs.io
  summary: |
    CmdStanPy is a lightweight interface to Stan for Python users which
    provides the necessary objects and functions to compile a Stan program
    and fit the model to data using CmdStan.
  license: BSD-3-Clause
  license_file: LICENSE.md

extra:
  recipe-maintainers:
    - maresb

Add python as run requirement
Add python as run requirement
