Commits

Laurence Rowe  committed 19ad53d

Use PIL namespace for extension modules

  • Participants
  • Parent commits df1c1f3

Comments (0)

Files changed (2)

     print "Python modules loaded from", os.path.dirname(Image.__file__)
     print "Binary modules loaded from", os.path.dirname(Image.core.__file__)
     print "-"*68
-    check_module("PIL CORE", "_imaging")
-    check_module("TKINTER", "_imagingtk")
+    check_module("PIL CORE", "PIL._imaging")
+    check_module("TKINTER", "PIL._imagingtk")
     check_codec("JPEG", "jpeg", "jpeglib_version")
     check_codec("ZLIB (PNG/ZIP)", "zip", "zlib_version")
-    check_module("FREETYPE2", "_imagingft", "freetype2_version")
-    check_module("LITTLECMS", "_imagingcms", "littlecms_version")
+    check_module("FREETYPE2", "PIL._imagingft", "freetype2_version")
+    check_module("LITTLECMS", "PIL._imagingcms", "littlecms_version")
     print "-"*68
 
     # use doctest to make sure the test program behaves as documented!
         description=DESCRIPTION,
         download_url=DOWNLOAD_URL % (NAME, VERSION),
         ext_modules=[Extension("_imaging", ["_imaging.c"])], # dummy
+        ext_package = "PIL",
         license="Python (MIT style)",
         long_description=DESCRIPTION,
         name=NAME,