- pybob is a preliminary implementation of an project build system compatible to autoproj, if you have problem you might consider using autoproj
-
install msys2 (https://msys2.github.io/ preferable 64bit version)
-
perform the update steps listed on the msys2 website
-
open mingw64 shell from msys2 intalled folder (important do not use the msys shell)
-
perform following steps in the shell:
pacman -S wget wget https://raw.githubusercontent.com/rock-simulation/pybob/master/prepare_msys2.sh bash prepare_msys2.sh -
continue with general install notes
sudo apt-get install git python-yaml python-distro
or (using python3)
sudo apt install git python3-yaml python3-distro
You can exclude the distro module by
export QT5_UBUNTU=True
or False if you have a older system which is incompatible with QT5.
For OS X it is recommended to use python3.6 and Qt5, although the tools generally are compatible to python2.7 and Qt4.
-
Install MacPorts (https://www.macports.org), which is used by pybob to install system dependencies. Note: follow the install instructions on the macports website carefully.
-
Install git and wget:
sudo port install git wget -
Install python38 and python yaml package via MacPorts:
sudo port install py38-yaml -
It is recommended to select python3.8 as default for the terminal:
sudo port select --set python python3.8 -
To use the pybob gui and exported plot gui of MARS:
sudo port install py38-sip py38-pyqt5 -
To use the exported plot gui of MARS some more packages are needed:
sudo port install py38-scipy py38-matplotlib -
To generate pdf plots with latex support:
sudo port install texlive texlive-latex-extra
mkdir mars-dev
cd mars-dev
git clone https://github.com/rock-simulation/pybob.git
cd pybob
./pybob.py buildconf path="https://github.com/rock-simulation/simulation-buildconf.git"
cd ..
source env.sh
bob-fetch
bob-install
You can start MARS in the terminal via mars_app.
Once you open a new terminal you have to source env.sh again.
- check if "git pull" fails