Skip to content

Installation walkthrough

Brandon Rohrer edited this page Sep 21, 2018 · 8 revisions

To get becca installed for development there are a few steps at the command line.

mkdir becca_project
cd becca_project

Meet dependencies

If you don't already have them:

pip3 install numpy
pip3 install numba
pip3 install matplotlib

Clone the repositories

git clone https://github.com/brohrer/becca.git
git clone https://github.com/brohrer/becca_test.git
git clone https://github.com/brohrer/becca_toolbox.git
git clone https://github.com/brohrer/becca_viz.git

Install them locally

Order matters here, since everything depends on becca_toolbox and becca depends on everything. The --no-cache-dir argument helps prevent confusion with any previous becca installations.

pip3 install -e becca --no-cache-dir
pip3 install -e becca_viz --no-cache-dir
pip3 install -e becca_test --no-cache-dir
pip3 install -e becca_toolbox --no-cache-dir

And you're good to go.

python3
>>> import becca_test.test as test
>>> test.suite()

Uninstall

If you ever need to do a clean uninstall, return to your becca_project directory, and run these.

pip3 uninstall -y becca_toolbox
pip3 uninstall -y becca_viz
pip3 uninstall -y becca_test
pip3 uninstall -y becca

rm -rf becca
rm -rf becca_test
rm -rf becca_toolbox
rm -rf becca_viz