<commit_before>{% set version = "1.0.0" %}
{% set sha256 = "7fece415cca6c70e575531a463c0d5cb6d30f59740d7a113a02d584775a8b0c1" %}

package:
  name: instaseis
  version: {{ version }}


source:
  fn: instaseis-{{ version }}.zip
  url: https://pypi.io/packages/source/i/instaseis/instaseis-{{ version }}.zip
  sha256: {{ sha256 }}

build:
  number: 0
  script: python setup.py install --single-version-externally-managed --record record.txt
  skip: True  # [win]

requirements:
  build:
    - python
    - setuptools
    - gcc
  run:
    - python
    - libgfortran
    - numpy
    - h5py
    - obspy
    - future
    - tornado
    - requests
    - jsonschema
    - pyqt
    - pyqtgraph

test:
  imports:
    - instaseis
  commands:
    # Travis' OSX tests require more open files.
    - if [[ $(ulimit -n) -le "2048" ]]; then ulimit -n 2048 ; fi  # [osx]
    - python -m instaseis.tests
  requires:
    - click
    - netcdf4
    - responses
    - pytest
    - pytest-xdist
    - mock  # [py27]

about:
  home: http://instaseis.net<commit_msg>Using env variable to decide whether or not to mess with the ulimit<commit_after>{% set version = "1.0.0" %}
{% set sha256 = "7fece415cca6c70e575531a463c0d5cb6d30f59740d7a113a02d584775a8b0c1" %}

package:
  name: instaseis
  version: {{ version }}


source:
  fn: instaseis-{{ version }}.zip
  url: https://pypi.io/packages/source/i/instaseis/instaseis-{{ version }}.zip
  sha256: {{ sha256 }}

build:
  number: 0
  script: python setup.py install --single-version-externally-managed --record record.txt
  skip: True  # [win]

requirements:
  build:
    - python
    - setuptools
    - gcc
  run:
    - python
    - libgfortran
    - numpy
    - h5py
    - obspy
    - future
    - tornado
    - requests
    - jsonschema
    - pyqt
    - pyqtgraph

test:
  imports:
    - instaseis
  commands:
    # Travis' OSX tests require more open files.
    - if [[ $TRAVIS == true ]]; then ulimit -n 2048 ; fi  # [osx]
    - python -m instaseis.tests
  requires:
    - click
    - netcdf4
    - responses
    - pytest
    - pytest-xdist
    - mock  # [py27]

about:
  home: http://instaseis.net
{'fraction_non_alphanumeric': 0.12335216572504708, 'fraction_numerical': 0.060263653483992465, 'mean_word_length': 2.299689440993789, 'pattern_counts': {'":': 0, '<': 3, '<?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': '7528780', 'n_tokens_mistral': 890, 'n_tokens_neox': 819, 'n_words': 187}