<commit_before>#!/usr/bin/env bash

# install the pypi requirements.
pip install -r requirements.txt

# install PyAstronomy - needs Numpy to be already installed.
cd ..
git clone https://github.com/sczesla/PyAstronomy.git
cd PyAstronomy
python setup.py --with-ext install
cd ..

# install svgFig for orbital graphics
wget http://svgfig.googlecode.com/files/svgfig-1.1.2.tgz
tar -xvf svgfig-1.1.2.tgz
rm svgfig-1.1.2.tgz
cd svgfig
python setup.py install
cd ..

# install PySpice - for now! Soon to be updated to SpiceyPy
git clone https://github.com/johnnycakes79/PySPICE.git
cd PySpice
python getspice.py
python setup.py install
cd ..

# finally install e[PY]s
cd epys
python setup.py install
rm -rf build dist epys.egg-info
python setup.py test # run tests to check basic functionality

# run an ipython notebook to see if things work
ipython notebook<commit_msg>ip address specified for ipython notebook call<commit_after>#!/usr/bin/env bash

# install the pypi requirements.
pip install -r requirements.txt

# install PyAstronomy - needs Numpy to be already installed.
cd ..
git clone https://github.com/sczesla/PyAstronomy.git
cd PyAstronomy
python setup.py --with-ext install
cd ..

# install svgFig for orbital graphics
wget http://svgfig.googlecode.com/files/svgfig-1.1.2.tgz
tar -xvf svgfig-1.1.2.tgz
rm svgfig-1.1.2.tgz
cd svgfig
python setup.py install
cd ..

# install PySpice - for now! Soon to be updated to SpiceyPy
git clone https://github.com/johnnycakes79/PySPICE.git
cd PySpice
python getspice.py
python setup.py install
cd ..

# finally install e[PY]s
cd epys
python setup.py install
rm -rf build dist epys.egg-info
python setup.py test # run tests to check basic functionality

# run an ipython notebook to see if things work
ipython notebook --ip=127.0.0.1
{'fraction_non_alphanumeric': 0.09111361079865017, 'fraction_numerical': 0.015748031496062992, 'mean_word_length': 3.7951482479784366, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '3126649', 'n_tokens_mistral': 631, 'n_tokens_neox': 606, 'n_words': 208}