Fix the import hook for PIL to be Python 2.5-compatible

git-svn-id: http://svn.pyinstaller.org/trunk@631 8dd32b29-ccff-0310-8a9a-9233e24343b1
This commit is contained in:
giovannibajo
2009-03-01 11:05:45 +00:00
parent 6072535e4a
commit d20b371de1
5 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -18,4 +18,4 @@
# Forward to shared code for PIL. PIL can be imported either as a top-level package
# (from PIL import Image), or not (import Image), because it installs a
# PIL.pth.
from shared_PIL_Image import *
from hooks.shared_PIL_Image import *
+1 -1
View File
@@ -26,4 +26,4 @@ __name__ = "hook-image"
# Forward to shared code for PIL. PIL can be imported either as a top-level package
# (from PIL import Image), or not (import Image), because it installs a
# PIL.pth.
from shared_PIL_Image import *
from hooks.shared_PIL_Image import *
+1 -1
View File
@@ -18,4 +18,4 @@
# Forward to shared code for PIL. PIL can be imported either as a top-level package
# (from PIL import Image), or not (import Image), because it installs a
# PIL.pth.
from shared_PIL_SpiderImagePlugin import *
from hooks.shared_PIL_SpiderImagePlugin import *
+1
View File
@@ -0,0 +1 @@
# empty (just to need Python import machinery happy)
+1 -1
View File
@@ -18,4 +18,4 @@
# Forward to shared code for PIL. PIL can be imported either as a top-level package
# (from PIL import Image), or not (import Image), because it installs a
# PIL.pth.
from shared_PIL_SpiderImagePlugin import *
from hooks.shared_PIL_SpiderImagePlugin import *