Skip to content

arnouldC/pybob_docker

Repository files navigation

NOTES:

  • pybob is a preliminary implementation of an project build system compatible to autoproj, if you have problem you might consider using autoproj

Prepare Windows for pybob:

  1. install msys2 (https://msys2.github.io/ preferable 64bit version)

  2. perform the update steps listed on the msys2 website

  3. open mingw64 shell from msys2 intalled folder (important do not use the msys shell)

  4. 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
    
  5. continue with general install notes

Prepare Ubuntu for pybob:

   sudo apt-get install git python-yaml

Prepare Mac OS X for pybob:

For OS X it is recommended to use python3.6 and Qt5, although the tools generally are compatible to python2.7 and Qt4.

  1. 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.

  2. Install git:

     sudo port install git
    
  3. Install python36 and python yaml package via MacPorts:

     sudo port install py36-yaml
    
  4. It is recommended to select python3.6 as default for the terminal:

     sudo port select --set python python3.6
    
  5. To use the pybob gui and exported plot gui of MARS:

     sudo port install py36-sip py36-pyqt5
    
  6. To use the exported plot gui of MARS some more packages are needed:

     sudo port install py36-scipy py36-matplotlib
    
  7. To generate pdf plots with latex support:

     sudo port install texlive texlive-latex-extra
    

Install MARS via pybob

   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.

Todo:

  • check if "git pull" fails

About

Modified pybob to test on a docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published