1.2. Installation

With recent pip versions, pip is able to install a python module from github directly. The installation process is thus utterly simplified:

$> pip install git+https://github.com/LudwigCRON/undulate.git

In fact, you can even specify a version or a branch name in the following manner

$> pip install git+https://github.com/LudwigCRON/undulate.git@v0.0.5

or

$> pip install git+https://github.com/LudwigCRON/undulate.git@architecture_update

Warning

Unfortunately on some operating system, the versions of pip and python are frozen by the administrator and cannot support this direct installation process.

The installation procedure is as follow:

  1. download a stable release from github

    $> wget https://github.com/LudwigCRON/undulate/archive/v0.0.5.tar.gz
    
  2. unzip it at the desired place

    $> tar -xzvf v0.0.5.tar.gz
    
  3. install via pip

    $> cd ./v0.0.6/
    $> pip install --user .
    

Tip

As a bonus, you can define an alias in your .bash_aliases file

alias undulate-svg="undulate -f svg"
alias undulate-csvg="undulate -f cairo-svg"
alias undulate-cpng="undulate -f cairo-png -d 300"
alias undulate-ceps="undulate -f cairo-eps"
alias undulate-cpdf="undulate -f cairo-pdf"