<commit_before>{% set name = "pyTEMlib" %}
{% set version = "0.2022.3.1" %}

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

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

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

requirements:
  host:
    - python >=3.6
    - pip
    - pytest-runner
  run:
    - python >=3.6
    - scipy
    - numpy
    - pillow
    - simpleITK
    - ase
    - tqdm
    - ipyfilechooser
    - plotly
    - pandas
    - spglib
    - scikit-image
    - scikit-learn
    - pyNSID
    - sidpy
    - SciFiReaders

test:
  imports:
    - pyTEMlib<commit_msg>increased python minimum version to 3.7<commit_after>{% set name = "pyTEMlib" %}
{% set version = "0.2022.3.1" %}

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

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

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

requirements:
  host:
    - python >=3.7
    - pip
    - pytest-runner
  run:
    - python >=3.7
    - scipy
    - numpy
    - pillow
    - simpleITK
    - ase
    - tqdm
    - ipyfilechooser
    - plotly
    - pandas
    - spglib
    - scikit-image
    - scikit-learn
    - pyNSID
    - sidpy
    - SciFiReaders

test:
  imports:
    - pyTEMlib
{'fraction_non_alphanumeric': 0.14369310793237972, 'fraction_numerical': 0.07672301690507152, 'mean_word_length': 2.134419551934827, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '4197060', 'n_tokens_mistral': 703, 'n_tokens_neox': 630, 'n_words': 124}