<commit_before>#!/bin/bash

# setupdeb.sh v1.0

# <NAME>

# setup.sh installs the necessary pacakges to run builddatapack.sh
# on Debian based GNU/Linux distributions.

# To run, open a terminal and enter:
#   sudo sh builddatapack.sh

# Check for root.
if [[ $EUID -ne 0 ]]; then
  echo "This script must be run as root"
  exit 1
fi

apt update
apt install -y python3-pip
apt install -y python3-tk
pip3 install pandas
pip3 install matplotlib
apt install -y gpicview
apt install -y zip<commit_msg>Specify versions to pip<commit_after>#!/bin/bash

# setupdeb.sh v1.0

# <NAME>

# setup.sh installs the necessary pacakges to run builddatapack.sh
# on Debian based GNU/Linux distributions.

# To run, open a terminal and enter:
#   sudo sh builddatapack.sh

# Check for root.
if [[ $EUID -ne 0 ]]; then
  echo "This script must be run as root"
  exit 1
fi

apt update
apt install -y python3-pip
apt install -y python3-tk
pip3 install numpy==1.15.0
pip3 install pandas==0.20.3
pip3 install matplotlib
apt install -y gpicview
apt install -y zip

echo "To configure tox, run"
echo "  bash buildtoxtestenvironment.sh"
{'fraction_non_alphanumeric': 0.08648648648648649, 'fraction_numerical': 0.02252252252252252, 'mean_word_length': 3.6877637130801686, 'pattern_counts': {'":': 0, '<': 5, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2517617', 'n_tokens_mistral': 412, 'n_tokens_neox': 382, 'n_words': 153}