<commit_before>#!/bin/bash

if [ $(uname) == Darwin ]; then
    export CFLAGS="-arch x86_64"
    export FFLAGS="-static -ff2c -arch x86_64"
    export LDFLAGS="-Wall -undefined dynamic_lookup -bundle -arch x86_64"
    export LDFLAGS="-Wl,-search_paths_first -L$(pwd) $LDFLAGS"
fi


$PYTHON setup.py install --single-version-externally-managed --record record.txt
<commit_msg>preserve existing environment variables<commit_after>#!/bin/bash

if [ $(uname) == Darwin ]; then
    export CFLAGS="${CFLAGS} -arch x86_64"
    export FFLAGS="${FFLAGS} -static -ff2c -arch x86_64"
    export LDFLAGS="${LDFLAGS} -Wall -undefined dynamic_lookup -bundle -arch x86_64"
    export LDFLAGS="${LDFLAGS} -Wl,-search_paths_first -L$(pwd) $LDFLAGS"
fi


$PYTHON setup.py install --single-version-externally-managed --record record.txt

{'fraction_non_alphanumeric': 0.14425427872860636, 'fraction_numerical': 0.03178484107579462, 'mean_word_length': 4.1835443037974684, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6577220', 'n_tokens_mistral': 301, 'n_tokens_neox': 275, 'n_words': 69}