<commit_before>#! /bin/bash

source ./install_helpers.sh "" || exit 1


# Name of package
PKG_NAME="Python3"

# Path to one file of installed package to test for existing installation
PKG_INSTALLED_FILE="$SWEET_LOCAL_SOFTWARE_DST_DIR/bin/python3"

# URL to source code to fetch it
PKG_URL_SRC="Python-3.6.2.tgz"

config_package $@ || exit 1

config_configure_make_default_install || exit 1

mkdir -p "$SWEET_LOCAL_SOFTWARE_DST_DIR/bin/python"
ln -sf "$SWEET_LOCAL_SOFTWARE_DST_DIR/bin/python3" "$SWEET_LOCAL_SOFTWARE_DST_DIR/bin/python" 

echo_info "Upgrading pip..."<commit_msg>fixed ln in python install script<commit_after>#! /bin/bash

source ./install_helpers.sh "" || exit 1


# Name of package
PKG_NAME="Python3"

# Path to one file of installed package to test for existing installation
PKG_INSTALLED_FILE="$SWEET_LOCAL_SOFTWARE_DST_DIR/bin/python3"

# URL to source code to fetch it
PKG_URL_SRC="Python-3.6.2.tgz"

config_package $@ || exit 1

config_configure_make_default_install || exit 1

#mkdir -p "$SWEET_LOCAL_SOFTWARE_DST_DIR/bin/python"
#Create symlink to make python linked to python3
config_exec ln -sf "$SWEET_LOCAL_SOFTWARE_DST_DIR/bin/python3" "$SWEET_LOCAL_SOFTWARE_DST_DIR/bin/python" 

echo_info "Upgrading pip..."
{'fraction_non_alphanumeric': 0.1, 'fraction_numerical': 0.01532258064516129, 'mean_word_length': 5.636363636363637, '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': '106534', 'n_tokens_mistral': 476, 'n_tokens_neox': 452, 'n_words': 107}