Giter VIP home page Giter VIP logo

pybob's Introduction

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

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 and wget:

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

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

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

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

     sudo port install py38-scipy py38-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

pybob's People

Contributors

alexanderfabisch avatar amudtogal avatar hwiese1980 avatar malter avatar maotto avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.