wiki/HowtoThumbor.md
2018-06-29 18:37:41 +02:00

3.1 KiB

Installation

Thumbor n'est disponible que sur sid. Certaines dépendances ne sont disponible que via les backports.

Paquet                    | Version | Jessie | Jessie BP |
--------------------------+---------+--------+-----------+
libc6                     | 2.14    |        |           |
python                    | 2.7     |        |           |
python-argparse           |         |        |           |
python-cairosvg           |         |        |           |
python-concurrent.futures |         |        |           |
python-crypto             | 2.1.0   | 2.6.1  |           |
python-derpconf           | 0.2.0   |        | 0.8.0     |
python-imaging            |         |        |           |
python-libthumbor         |         |        |           |
python-pexif              | 0.15    |        | 0.15.1    |
python-pil                | 3.0.0   | 2.6.1  | 3.4.2     |
python-pycurl             |         |        |           |
python-schedule           |         |        |           |
python-statsd             | 3.0.1   |        | 3.2.1     |
python-tornado            | 4.1.0   | 3.2.2  | 4.4.3     |
python-tz                 |         |        |           |
python-webcolors          |         |        |           |

La procédure suivante fonctionne, a priori :

apt install \
    libc6                     \
    python                    \
    libpython2.7-stdlib       \
    python-cairosvg           \
    python-concurrent.futures \
    python-imaging            \
    python-pycurl             \
    python-tz                 \
    python-webcolors          \
    python-six                \
    python-pkg-resources      \
    python-singledispatch     \
    python-opencv
wget \
    http://ftp.fr.debian.org/debian/pool/main/p/python-backports-abc/python-backports-abc_0.5-1~bpo8+1_all.deb \
    http://ftp.fr.debian.org/debian/pool/main/p/pillow/python-pil_3.4.2-1~bpo8+1_amd64.deb                     \
    http://ftp.fr.debian.org/debian/pool/main/p/python-tornado/python-tornado_4.4.3-1~bpo8+1_amd64.deb         \
    http://ftp.fr.debian.org/debian/pool/main/d/derpconf/python-derpconf_0.8.0-1~bpo8+1_all.deb                \
    http://ftp.fr.debian.org/debian/pool/main/p/pexif/python-pexif_0.15-1~bpo8+1_all.deb                       \
    http://ftp.fr.debian.org/debian/pool/main/s/schedule/python-schedule_0.3.2-1~bpo8+1_all.deb                \
    http://ftp.fr.debian.org/debian/pool/main/p/python-statsd/python-statsd_3.2.1-2~bpo8+1_all.deb             \
    http://ftp.fr.debian.org/debian/pool/main/libt/libthumbor/python-libthumbor_1.3.2-1_all.deb                \
    http://ftp.fr.debian.org/debian/pool/main/t/thumbor/thumbor_6.3.2-4_amd64.deb
dpkg -i \
    python-backports-abc_0.5-1~bpo8+1_all.deb \
    python-pil_3.4.2-1~bpo8+1_amd64.deb       \
    python-tornado_4.4.3-1~bpo8+1_amd64.deb   \
    python-derpconf_0.8.0-1~bpo8+1_all.deb    \
    python-pexif_0.15-1~bpo8+1_all.deb        \
    python-schedule_0.3.2-1~bpo8+1_all.deb    \
    python-statsd_3.2.1-2~bpo8+1_all.deb      \
    python-libthumbor_1.3.2-1_all.deb         \
    thumbor_6.3.2-4_amd64.deb