<commit_before>#!/bin/bash

#
# Install everything (python) into a virtual environment.
# Maybe not important for sandboxes, but important locally.
#

echo '# installing base tools'
sudo easy_install -U setuptools

echo
echo '# setting up a virtual environment'
sudo easy_install -U virtualenv
virtualenv --no-site-packages sandbox-env
. sandbox-env/bin/activate

echo
echo '# installing turbogears'
easy_install ipython
easy_install -i http://www.turbogears.org/2.1/downloads/current/index tg.devtools
easy_install beautifulsoup

#
# Install _our_ code.
#
echo
echo '# cloning forge repo'
git clone ssh://engr.geek.net/forge


#
# Install all our (formal) dependencies.
#
cd forge

echo
echo '# installing pyforge dependencies'
python pyforge/setup.py develop

echo
echo '# installing Ming dependencies'
python Ming/setup.py develop

echo
echo '# installing HelloForge dependencies'
python HelloForge/setup.py develop


# Start up the server?
<commit_msg>python setup.py develop --- must run from the directory containing setup.py<commit_after>#!/bin/bash

#
# Install everything (python) into a virtual environment.
# Maybe not important for sandboxes, but important locally.
#

echo '# installing base tools'
sudo easy_install -U setuptools

echo
echo '# setting up a virtual environment'
sudo easy_install -U virtualenv
virtualenv --no-site-packages sandbox-env
. sandbox-env/bin/activate

echo
echo '# installing turbogears'
easy_install ipython
easy_install -i http://www.turbogears.org/2.1/downloads/current/index tg.devtools
easy_install beautifulsoup

#
# Install _our_ code.
#
echo
echo '# cloning forge repo'
git clone ssh://engr.geek.net/forge


#
# Install all our (formal) dependencies.
#
cd forge

echo
echo '# installing pyforge dependencies'
cd pyforge
python setup.py develop
cd ..

echo
echo '# installing Ming dependencies'
cd Ming
python setup.py develop
cd ..

echo
echo '# installing HelloForge dependencies'
cd HelloForge
python setup.py develop
cd ..


# Start up the server?

{'fraction_non_alphanumeric': 0.0879560219890055, 'fraction_numerical': 0.001999000499750125, 'mean_word_length': 4.484931506849315, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2710598', 'n_tokens_mistral': 645, 'n_tokens_neox': 600, 'n_words': 212}