Skip to content
Python build scripts
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
patches Update sisl override and add lua osdep for ubuntu Dec 18, 2018
.gitignore Add .gitignore for pyc and pybob.yml Jul 20, 2017
README.md Fix typo Aug 27, 2018
auto_complete.sh Merge remote-tracking branch 'malter/master' Sep 12, 2016
bob_package.py
buildconf.py Bugfix: for python3 usage Mar 19, 2019
colorconsole.py Make prints compatible to Python 3 Aug 12, 2018
config.py Bugfixes for python3 Dec 14, 2018
env_command.sh Fix env_command.sh for ubuntu Nov 7, 2017
environment.py Environment update May 16, 2019
execute.py Add qt4-webkit as os dep Apr 24, 2019
gui.py Make prints compatible to Python 3 Aug 12, 2018
min_msys.py Make prints compatible to Python 3 Aug 12, 2018
osdeps.py Update apt-get call May 9, 2019
overrides.py Update sisl override and add lua osdep for ubuntu Dec 18, 2018
prepare_msys2.sh Add prepare msys2 script Dec 29, 2017
pybob.py
recursive_remove_build.py Make prints compatible to Python 3 Aug 12, 2018
server.yml initial commit Aug 18, 2016

README.md

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
You can’t perform that action at this time.