{% set name = "picologging" %}
{% set version = "0.5.1" %}

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

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/picologging-{{ version }}.tar.gz
  sha256: 8bb4d2672672fe1295a00ad34738a1fe2800556f6e4fff48a5812324fdbf650b

build:
  noarch: python
  script: {{ PYTHON }} -m pip install . -vv
  number: 0

requirements:
  build:
    - cmake >=3.18
    - ninja
    - setuptools >=42
  host:
    - pip
    - python >=3.7
    - scikit-build >=0.13
  run:
    - python >=3.7

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

about:
  home: https://github.com/microsoft/picologging
  summary: A fast and lightweight logging library for Python
  license: MIT
  license_file: LICENSE

extra:
  recipe-maintainers:
    - thewchan

{% set name = "picologging" %}
{% set version = "0.5.1" %}

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

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/picologging-{{ version }}.tar.gz
  sha256: 8bb4d2672672fe1295a00ad34738a1fe2800556f6e4fff48a5812324fdbf650b

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

requirements:
  build:
    - {{ compiler('cxx')}}
    - cmake >=3.18
    - ninja
    - setuptools >=42
  host:
    - pip
    - python >=3.7
    - scikit-build >=0.13
  run:
    - python >=3.7

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

about:
  home: https://github.com/microsoft/picologging
  summary: A fast and lightweight logging library for Python
  license: MIT
  license_file: LICENSE

extra:
  recipe-maintainers:
    - thewchan

Remove noarch and add c++ compiler
Remove noarch and add c++ compiler
