<commit_before>{% set version = "1.0" %}

package:
  name: capytaine
  version: {{ version }}

source:
  url: https://github.com/mancellin/capytaine/archive/v{{version}}.tar.gz
  sha256: 072de801b50b4052277b5eb3d634734a11079b69789e5fb3bccb7363d199f637

build:
  skip: True  # [py<36]
  number: 0
  script: "{{ PYTHON }} -m pip install . --no-deps -vv"
  entry_points:
    - capytaine = capytaine.ui.cli:main

requirements:
  build:
    - {{ compiler('fortran') }}
    - {{ compiler('c') }}
    - llvm-openmp  # [osx]
  host:
    - python
    - pip
    - setuptools
    - numpy
    - flang  # [win]
    - llvm-openmp  # [osx]
  run:
    - python
    - attrs
    - {{ pin_compatible('numpy') }}
    - pandas
    - matplotlib
    - scipy
    - vtk
    - xarray
    - libflang  # [win]
    - llvm-openmp  # [osx]

test:
  imports:
    - capytaine
  requires:<commit_msg>Test gfortran?<commit_after>{% set version = "1.0" %}

package:
  name: capytaine
  version: {{ version }}

source:
  url: https://github.com/mancellin/capytaine/archive/v{{version}}.tar.gz
  sha256: 072de801b50b4052277b5eb3d634734a11079b69789e5fb3bccb7363d199f637

build:
  skip: True  # [py<36]
  number: 0
  script: "{{ PYTHON }} -m pip install . --no-deps -vv"
  entry_points:
    - capytaine = capytaine.ui.cli:main

requirements:
  build:
    - {{ compiler('fortran') }}  # [not win]
    - gfortran  # [win]
    - {{ compiler('c') }}
    - llvm-openmp  # [osx]
  host:
    - python
    - pip
    - setuptools
    - numpy
    - llvm-openmp  # [osx]
  run:
    - python
    - attrs
    - {{ pin_compatible('numpy') }}
    - pandas
    - matplotlib
    - scipy
    - vtk
    - xarray
    - llvm-openmp  # [osx]

test:
  imports:
    - capytaine
  requires:
{'fraction_non_alphanumeric': 0.15072463768115943, 'fraction_numerical': 0.06144927536231884, 'mean_word_length': 2.2813688212927756, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '7120865', 'n_tokens_mistral': 771, 'n_tokens_neox': 718, 'n_words': 124}