Installation
The package can be either installed via pip or if you solely want to work with yeoda or contribute, we recommend to
install it as a conda environment. If you work already with your own environment, please have look at requirements.txt.
pip
To install yeoda via pip in your own environment, use:
pip install yeoda
conda
The packages also comes along with two conda environments, one for Linux (conda_env_linux.yml) and one for Windows (conda_env_windows.yml).
This is especially recommended if you want to contribute to the project.
The following script will install miniconda and setup the environment on a UNIX
like system. Miniconda will be installed into $HOME/miniconda.
wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
bash miniconda.sh -b -p $HOME/miniconda
export PATH="$HOME/miniconda/bin:$PATH"
conda env create -f conda_env_linux.yml
source activate yeoda
This script adds $HOME/miniconda/bin temporarily to the PATH to do this
permanently add export PATH="$HOME/miniconda/bin:$PATH" to your .bashrc
or .zshrc.
For Windows, use the following setup:
Download the latest miniconda 3 installer for Windows
Click on
.exefile and complete the installation.Add the folder
condabinfolder to your environment variablePATH. You can find thecondabinfolder usually under:C:\Users\username\AppData\Local\Continuum\miniconda3\condabinFinally, you can set up the conda environment via:
conda env create -f conda_env_windows.yml source activate yeoda
After that you should be able to run
python setup.py test
to run the test suite.