Commits

Simone Marzola committed 72491b3

replaced PIL with its actively mantained fork Pillow

  • Participants
  • Parent commits 5fb64b0
  • Branches default

Comments (0)

Files changed (3)

       zip_safe=False,
       install_requires=[
         "TurboGears2 >= 2.1",
-        "PIL"
+        "Pillow"
       ],
       entry_points="""
       # -*- Entry points: -*-

File tests/test_sqla_attachments.py

 # -*- coding: utf-8 -*-
 
-import tempfile, tg, os, shutil, cgi, base64, Image
+import tempfile, tg, os, shutil, cgi, base64
+from PIL import Image
 from sqlalchemy.schema import Column
 from sqlalchemy.types import Unicode, Integer
 from sqla_base import setup_database, clear_database, DeclarativeBase, DBSession, Thing

File tgext/datahelpers/fields.py

-import tg, os, shutil, cgi, Image, json, tempfile
+import tg, os, shutil, cgi, json, tempfile
+from PIL import Image
 import sqlalchemy.types as types
 import uuid as uuid_m
 from tg.decorators import cached_property