<commit_before>#!/usr/bin/env bash

# Create s3am venv
rm -rf s3am
virtualenv s3am
s3am/bin/pip install s3am==2.0a1.dev105
# Expose binaries to the PATH
mkdir bin
ln -snf ${PWD}/s3am/bin/s3am bin/
export PATH=$PATH:${PWD}/bin

# Create Toil venv
rm -rf venv
virtualenv venv
. venv/bin/activate
# Adding AWS extra to get boto as required by tests
pip install toil[aws]==3.3.0

# Prepare directory for temp files
TMPDIR=/mnt/ephemeral/tmp
rm -rf $TMPDIR
mkdir $TMPDIR
export TMPDIR

make develop
make test<commit_msg>Stop virtualenv from upgrading setuptools (resolves #458)<commit_after>#!/usr/bin/env bash

# Create s3am venv
rm -rf s3am
virtualenv --never-download s3am
s3am/bin/pip install s3am==2.0a1.dev105
# Expose binaries to the PATH
mkdir bin
ln -snf ${PWD}/s3am/bin/s3am bin/
export PATH=$PATH:${PWD}/bin

# Create Toil venv
rm -rf venv
virtualenv --never-download venv
. venv/bin/activate
# Adding AWS extra to get boto as required by tests
pip install toil[aws]==3.3.0

# Prepare directory for temp files
TMPDIR=/mnt/ephemeral/tmp
rm -rf $TMPDIR
mkdir $TMPDIR
export TMPDIR

make develop
make test
{'fraction_non_alphanumeric': 0.10198555956678701, 'fraction_numerical': 0.0315884476534296, 'mean_word_length': 4.2559241706161135, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1393047', 'n_tokens_mistral': 454, 'n_tokens_neox': 426, 'n_words': 137}