<commit_before>#!/bin/bash

set -eu

dist_dir="tcconfig_wheel"
wheelhouse_dir_path=${dist_dir}/"wheelhouse"
install_script_path=${dist_dir}/"install.sh"
lancher_script="launcher.sh"


# make wheelhouse ---
python setup.py bdist_wheel --dist-dir ${dist_dir} --universal
pip wheel -r requirements/requirements.txt --wheel-dir ${wheelhouse_dir_path}

rm ${wheelhouse_dir_path}/Logbook-*.whl
pip download Logbook --no-deps --dest ${wheelhouse_dir_path}


# make an install script ---
cat <<EOF > ${install_script_path}
#!/bin/bash

set -eu

pip install --use-wheel --no-index --find-links=wheelhouse tcconfig-*.whl --upgrade
EOF

chmod +x ${install_script_path}
<commit_msg>Update packaging.sh<commit_after>#!/bin/bash

set -eu

dist_dir="tcconfig_wheel"
wheelhouse_dir_path=${dist_dir}/"wheelhouse"
install_script_path=${dist_dir}/"install.sh"
lancher_script="launcher.sh"


# make wheelhouse ---
python setup.py bdist_wheel --dist-dir ${dist_dir} --universal
pip wheel -r requirements/requirements.txt --wheel-dir ${wheelhouse_dir_path}

rm ${wheelhouse_dir_path}/Logbook-*.whl
pip download Logbook --no-deps --dest ${wheelhouse_dir_path}


# make an install script ---
cat <<EOF > ${install_script_path}
#!/bin/sh

set -eu

pip install --use-wheel --no-index --find-links=wheelhouse tcconfig-*.whl --upgrade
EOF

chmod +x ${install_script_path}

{'fraction_non_alphanumeric': 0.15104166666666666, 'fraction_numerical': 0.0, 'mean_word_length': 4.822510822510822, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, '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': '6220419', 'n_tokens_mistral': 495, 'n_tokens_neox': 479, 'n_words': 101}