<commit_before>{% set name = "crlibm" %}
{% set version = "1.0.3" %}

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

source:
  url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
  sha256: 48e17981f90d69c6bb0013f68bacbe7a157de864a533d15dd196ca7e98348a35

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

requirements:
  build:
    - {{ compiler('c') }}
  host:
    - python
    - pip
    - crlibm
  run:
    - python

test:
  imports:
    - crlibm

about:
  home: "https://github.com/taschini/pycrlibm"
  license: LGPL-2.0-or-later
  license_family: LGPL
  license_file: 
    - LICENSE
    - crlibm/COPYING
    - crlibm/COPYING.LIB
  summary: "Python bindings for CRlibm, an efficient and proven correctly-rounded mathematical library"

extra:
  recipe-maintainers:
    - marksantcroos<commit_msg>Also use win compiler for python package.<commit_after>{% set name = "crlibm" %}
{% set version = "1.0.3" %}

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

source:
  url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
  sha256: 48e17981f90d69c6bb0013f68bacbe7a157de864a533d15dd196ca7e98348a35

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

requirements:
  build:
    - {{ compiler('c') }}  # [unix]
    - {{ compiler("m2w64_c") }}  # [win]
  host:
    - python
    - pip
    - crlibm
  run:
    - python

test:
  imports:
    - crlibm

about:
  home: "https://github.com/taschini/pycrlibm"
  license: LGPL-2.0-or-later
  license_family: LGPL
  license_file: 
    - LICENSE
    - crlibm/COPYING
    - crlibm/COPYING.LIB
  summary: "Python bindings for CRlibm, an efficient and proven correctly-rounded mathematical library"

extra:
  recipe-maintainers:
    - marksantcroos
{'fraction_non_alphanumeric': 0.15493726132024005, 'fraction_numerical': 0.057283142389525366, 'mean_word_length': 3.0485651214128033, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1330559', 'n_tokens_mistral': 800, 'n_tokens_neox': 717, 'n_words': 148}