From 7bfb2527bb0b832f830f87c37bd165028118e442 Mon Sep 17 00:00:00 2001 From: anatoly techtonik Date: Fri, 15 Jul 2016 11:00:55 +0300 Subject: [PATCH] Expose Pillow package version as PIL.__version__ --- PIL/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PIL/__init__.py b/PIL/__init__.py index d8cc20e53..561a13a67 100644 --- a/PIL/__init__.py +++ b/PIL/__init__.py @@ -14,6 +14,8 @@ VERSION = '1.1.7' # PIL version PILLOW_VERSION = '3.4.0.dev0' # Pillow +__version__ = PILLOW_VERSION + _plugins = ['BmpImagePlugin', 'BufrStubImagePlugin', 'CurImagePlugin',