You can install bade using Pip, thus:

pip install bade

If you want to use the dot-graph directive, Graphviz must be installed. It’s widely available:

  • Debian/Ubuntu: sudo apt-get install graphviz
  • OSX: brew install graphviz

If you want to use the maths directive and role, a LaTeX distribution must be installed. You’ll also need pstoedit, which is available on Homebrew:

  • OSX: brew install pstoedit

Source files are available on GitHub: