forked from alito/becca
-
Notifications
You must be signed in to change notification settings - Fork 46
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
If you don't already have them:
pip3 install numpy
pip3 install numba
pip3 install matplotlib
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
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()
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