Remove discussion on PIL/Pillow from the installation page (ref #206).

This commit is contained in:
Simon Conseil
2016-10-24 00:52:43 +02:00
parent ddff9f92ec
commit ae5f8cb16d
2 changed files with 7 additions and 26 deletions

View File

@@ -101,7 +101,6 @@ html_theme_options = {
'github_user': 'saimn',
'github_repo': 'sigal',
'description': "Yet another simple static gallery generator.",
'gratipay_user': 'saimn',
# 'analytics_id': 'UA-18486793-2',
# 'travis_button': True,
}

View File

@@ -10,37 +10,19 @@ or alternatively if you have pip installed::
$ pip install sigal
To install the development version, see the :doc:`contribute`.
Dependencies
~~~~~~~~~~~~
- Blinker
- Click
- Jinja2
- Pilkit
- Python Imaging Library (PIL / Pillow, see below)
- Pillow
- Python Markdown
PIL or Pillow ?
~~~~~~~~~~~~~~~
Packages
~~~~~~~~
PIL_ is almost dead, the last release was in 2009. If possible you should
prefer to use Pillow_, a fork of PIL which is actively developped, with
packaging improvements, Python 3 compatibility, etc.
You can install Pillow with ``pip install Pillow``, preferably in a
virtualenv_. To have JPG and PNG support, you must first install the
developpement packages of libjpeg, freetype2 and zlib.
- For Debian/Ubuntu, this is possible with::
apt-get build-dep python-dev python-imaging
Debian/Sid users can use the experimental ``python-imaging`` package that is
built from Pillow source.
- For Archlinux, there is a package_ for sigal in the AUR which already uses
Pillow.
.. _PIL: http://www.pythonware.com/products/pil/
.. _Pillow: https://github.com/python-imaging/Pillow
.. _package: https://aur.archlinux.org/packages/sigal/
.. _virtualenv: http://www.virtualenv.org/
- Archlinux: `AUR package <https://aur.archlinux.org/packages/sigal/>`_