[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Wheezy] PIL to Pillow migration



Hi all,

Is there a recommended way to replace the PIL by Pillow (and also install Pillow without a previous PIL package installed) on a Wheezy box ?

The Pillow documentation says that prior to install Pillow you have to remove the PIL ; and also that Debian already provides Pillow instead of PIL which
is not the case according to the package description (python-imaging).

I am a bit confused by the packages names / informations on my Wheezy platform :

1. python-imaging seems to provide the original/now unmaintained PIL and to manage dependencies.
2. I have a python-pillow package with no dependencies and no maintainer (@5b3923d6a5bb). Google python-pillow gives almost no result...
3. Looks like in testing/unstable, everything as changed :
  3.1. There is a pillow source package ;
  3.2. python-pil - which actually is Pillow - is the package to install instead of python-imaging
  3.3 python-imaging is now a compatibility package between PIL and Pillow (to fix the import Image // from PIL import Image incompat).

Thanks in advance for any clarification.


$ sudo cat /etc/apt/sources.list
# puppet managed
# serveur puppetmaster01
# distrib wheezy
deb http://ftp2.fr.debian.org/debian wheezy main non-free contrib
deb-src http://ftp2.fr.debian.org/debian wheezy main non-free contrib

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

# wheezy-updates, previously known as 'volatile'
deb http://ftp2.fr.debian.org/debian wheezy-updates main contrib non-free
deb-src http://ftp2.fr.debian.org/debian wheezy-updates main contrib non-free


$ aptitude show python-pillow
Paquet : python-pillow                       
Nouveau: oui
État: non installé
Automatiquement installé: non
Version : 2.3.1
Priorité : supplémentaire
Section : default
Responsable : <@5b3923d6a5bb>
Architecture : amd64
Taille décompressée : 2 685 k
Description : Python Imaging Library (Fork)
 
Site : http://python-imaging.github.io/



---
Stanislas

Reply to: