<commit_before>#!/bin/bash

# Compile wheels
for PYBIN in /opt/python/*/bin; do
    "${PYBIN}/pip" wheel ./ -w /work/tempwheels
done

# Bundle external shared libraries into the wheels
for whl in /work/tempwheels/*.whl; do
    auditwheel repair "$whl" --plat manylinux2014_x86_64 -w /work/wheels/
done

for PYBIN in /opt/python/*/bin/; do
    ${PYBIN}/pip install aerospike -f /work/wheels/
    ${PYBIN}/python -c "import aerospike; print('Installed aerospike version{}'.format(aerospike.__version__))"
done<commit_msg>build only these supported python env PYTHONS, updated<commit_after># Compile wheels

echo $PYTHONS
IFS=',' read -ra ADDR <<< "$PYTHONS"

for i in "${ADDR[@]}"; do
    echo "compiling  $i "${i}/pip" wheel ./ -w /work/tempwheels ..."
    "${i}/pip" wheel ./ -w /work/tempwheels
done

for i in "${ADDR[@]}"; do
    ${i}/pip install aerospike -f /work/wheels/
    ${i}/python -c "import aerospike; print('Installed aerospike version{}'.format(aerospike.__version__))"
done

echo "Building wheel $PYTHONS are done"
{'fraction_non_alphanumeric': 0.16132167152575316, 'fraction_numerical': 0.007774538386783284, 'mean_word_length': 3.7685185185185186, 'pattern_counts': {'":': 0, '<': 6, '<?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': '5369848', 'n_tokens_mistral': 392, 'n_tokens_neox': 361, 'n_words': 108}