{% set name = "sigProfilerPlotting" %}
{% set version = "1.3.24" %}

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

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

build:
  entry_points:
    - SigProfilerPlotting=sigProfilerPlotting.sigProfilerPlotting_CLI:main_function
  noarch: python
  script: {{ PYTHON }} -m pip install . -vvv --no-deps --no-build-isolation --no-cache-dir
  number: 0
  run_exports:
    - {{ pin_subpackage(name|lower, max_pin="x") }}

requirements:
  host:
    - python >=3.7
    - pip
  run:
    - python >=3.7
    - matplotlib-base >=3.4.3
    - pandas >=1.2.4,<2.0.0
    - scikit-learn >=1.1.3
    - pillow >=10.0.0

test:
  imports:
    - sigProfilerPlotting
  commands:
    - SigProfilerPlotting plotSBS --help

about:
  home: https://github.com/alexandrovlab/SigProfilerPlotting
  summary: "SigProfiler plotting tool."
  license: BSD-2-Clause
  license_family: BSD
  license_file: LICENSE
  dev_url: https://github.com/alexandrovlab/SigProfilerPlotting
  doc_url: https://osf.io/2aj6t/wiki/home
