<commit_before>{% set name = "pytorch-pretrained-bert" %}
{% set version = "0.4.0" %}

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

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name.replace('-','_') }}-{{ version }}.tar.gz
  sha256: a1bbcf9d2ef5f894b583737bd0bcbd7f4cbffddc4722b255aaf8b93fd43892d3

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

requirements:
  host:
    - python
    - setuptools
  run:
    - python >=3.5
    - pytorch >=0.4.1
    - numpy
    - boto3
    - requests
    - tqdm

test:
  imports:
    - pytorch_pretrained_bert
  requires:<commit_msg>Use pip instead of setup tools<commit_after>{% set name = "pytorch-pretrained-bert" %}
{% set version = "0.4.0" %}

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

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name.replace('-','_') }}-{{ version }}.tar.gz
  sha256: a1bbcf9d2ef5f894b583737bd0bcbd7f4cbffddc4722b255aaf8b93fd43892d3

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

requirements:
  host:
    - python
    - pip
  run:
    - python >=3.5
    - pytorch >=0.4.1
    - numpy
    - boto3
    - requests
    - tqdm

test:
  imports:
    - pytorch_pretrained_bert
  requires:
{'fraction_non_alphanumeric': 0.17043740573152338, 'fraction_numerical': 0.0693815987933635, 'mean_word_length': 2.7914285714285714, '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': '3618568', 'n_tokens_mistral': 596, 'n_tokens_neox': 561, 'n_words': 106}