<commit_before>#!/bin/sh

PATH=$PATH:/usr/local/bin
for binary in python2 python2.0 python2.1 python2.2 python2.3; do
    if $binary -c "" ; then
        $binary - <<EOF
import sys
sitedir = sys.prefix + "/lib/python" + sys.version[:3] + "/site-packages"
filename = sitedir + "/hiveconf.pth"
open(filename, "w").write("/usr/lib/hiveconf\n")
print "Created", filename
EOF
    fi
done<commit_msg>When creating .pth files, try python, python2.4 and python2.5 as well.<commit_after>#!/bin/sh

PATH=$PATH:/usr/local/bin
for binary in python python2 python2.0 python2.1 python2.2 python2.3 python2.4 python2.5; do
    if $binary -c "" ; then
        $binary - <<EOF
import sys
sitedir = sys.prefix + "/lib/python" + sys.version[:3] + "/site-packages"
filename = sitedir + "/hiveconf.pth"
open(filename, "w").write("/usr/lib/hiveconf\n")
print "Created", filename
EOF
    fi
done
{'fraction_non_alphanumeric': 0.1628440366972477, 'fraction_numerical': 0.03211009174311927, 'mean_word_length': 3.643617021276596, 'pattern_counts': {'":': 0, '<': 7, '<?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': '1928767', 'n_tokens_mistral': 320, 'n_tokens_neox': 315, 'n_words': 82}