Installation¶
Invenio-Formatter is on PyPI so all you need is:
$ pip install invenio-formatter
If you want to use the badge generation feature you need explicit enable it:
$ pip install invenio-formatter[badges]
This will install Pillow and CairoSVG library. For these libraries to work you must have the following system libraries installed with development headers:
- FreeType
- Cairo
- DejaVu Sans font
OS X¶
Install the dependencies above with Homebrew:
$ brew install cairo
Download the DejaVu Sans font and install it on your system.