{% set name = "pyscamp" %}
{% set version = "3.0.0" %}


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

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pyscamp-{{ version }}.tar.gz
  sha256: 5d081accbdd0190ac2a2f3b3ad3e29b17cb89081cc0609b2125e88b9e1e02bb8

build:
  number: 0
  script: {{ PYTHON }} setup.py install
  script_env:
    - PYSCAMP_NO_PLATFORM_AUTOSELECT=1

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - cmake
    - make  # [not win]
  host:
    - python
    - setuptools-scm
  run:
    - python

test:
  source_files:
    - test
  imports:
    - pyscamp
  commands:
    - pip check
    - cd test
    - python test_pyscamp.py
  requires:
    - pip
    - numpy

about:
  home: https://github.com/zpzim/SCAMP
  summary: SCAlable Matrix Profile
  license: MIT
  license_file: LICENSE

extra:
  recipe-maintainers:
    - zpzim

{% set name = "pyscamp" %}
{% set version = "3.0.0" %}


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

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pyscamp-{{ version }}.tar.gz
  sha256: 5d081accbdd0190ac2a2f3b3ad3e29b17cb89081cc0609b2125e88b9e1e02bb8

build:
  number: 0
  skip: True  # [win]
  script: {{ PYTHON }} setup.py install
  script_env:
    - PYSCAMP_NO_PLATFORM_AUTOSELECT=1

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - cmake
    - make  # [not win]
  host:
    - python
    - setuptools-scm
  run:
    - python

test:
  source_files:
    - test
  imports:
    - pyscamp
  commands:
    - pip check
    - cd test
    - python test_pyscamp.py
  requires:
    - pip
    - numpy

about:
  home: https://github.com/zpzim/SCAMP
  summary: SCAlable Matrix Profile
  license: MIT
  license_file: LICENSE

extra:
  recipe-maintainers:
    - zpzim

Disable Windows builds for now as they are broken in the staged-recipes CI environment.
Disable Windows builds for now as they are broken in the staged-recipes CI environment.
