2013-08-03 17:04:23 +02:00
|
|
|
==============
|
|
|
|
|
Installation
|
|
|
|
|
==============
|
|
|
|
|
|
2018-09-05 09:35:43 +02:00
|
|
|
With pip::
|
2013-08-03 17:04:23 +02:00
|
|
|
|
2018-09-05 09:35:43 +02:00
|
|
|
$ pip install sigal
|
2013-08-03 17:04:23 +02:00
|
|
|
|
2018-09-05 09:35:43 +02:00
|
|
|
Or to install with optional dependencies (listed below)::
|
2013-08-03 17:04:23 +02:00
|
|
|
|
2018-09-05 09:35:43 +02:00
|
|
|
$ pip install sigal\[all\]
|
2013-08-03 17:04:23 +02:00
|
|
|
|
2016-10-24 00:52:43 +02:00
|
|
|
To install the development version, see the :doc:`contribute`.
|
|
|
|
|
|
2018-01-13 01:01:40 +01:00
|
|
|
Also, note that Sigal depends on `Pillow
|
|
|
|
|
<https://github.com/python-pillow/Pillow>`_, which needs specific libraries when
|
|
|
|
|
building from sources. See their `Installation documentation
|
|
|
|
|
<https://pillow.readthedocs.io/en/stable/installation.html>`_ for more details.
|
|
|
|
|
|
2013-08-03 17:04:23 +02:00
|
|
|
Dependencies
|
|
|
|
|
~~~~~~~~~~~~
|
|
|
|
|
|
2018-09-05 09:35:43 +02:00
|
|
|
The mandatory dependencies are:
|
|
|
|
|
|
2016-10-24 00:52:43 +02:00
|
|
|
- Blinker
|
2014-07-22 23:59:53 +02:00
|
|
|
- Click
|
2013-08-03 17:04:23 +02:00
|
|
|
- Jinja2
|
|
|
|
|
- Pilkit
|
2016-10-24 00:52:43 +02:00
|
|
|
- Pillow
|
2013-08-03 17:04:23 +02:00
|
|
|
- Python Markdown
|
|
|
|
|
|
2018-09-05 09:35:43 +02:00
|
|
|
There are also a number of optional dependencies for the :doc:`plugins`, listed
|
|
|
|
|
in the ``requirements.txt`` file:
|
|
|
|
|
|
|
|
|
|
- Brotli, zopfli (compress assets plugin)
|
|
|
|
|
- Boto (upload to S3 plugin)
|
|
|
|
|
- feedgenerator (feeds plugin)
|
|
|
|
|
|
2016-10-24 00:52:43 +02:00
|
|
|
Packages
|
|
|
|
|
~~~~~~~~
|
2013-08-03 17:04:23 +02:00
|
|
|
|
2018-01-13 01:01:40 +01:00
|
|
|
Some packages are available for Linux distributions:
|
|
|
|
|
|
2018-09-05 09:13:53 +02:00
|
|
|
- `Archlinux <https://www.archlinux.org/packages/community/any/sigal/>`_
|
2018-01-13 01:01:40 +01:00
|
|
|
- `Gentoo <https://packages.gentoo.org/packages/media-gfx/sigal>`_
|
|
|
|
|
- `OpenSuse
|
|
|
|
|
<https://build.opensuse.org/package/show/openSUSE:Factory/python-sigal>`_
|
|
|
|
|
- `NixOS <https://nixos.org/nixos/packages.html#sigal>`_
|