From 9f4ba9922dfae68c4816e3cc3105c321ed150b67 Mon Sep 17 00:00:00 2001 From: Hugo Date: Mon, 9 Apr 2018 18:39:24 +0300 Subject: [PATCH] Deprecate PILLOW_VERSION and VERSION, use __version__ instead --- src/PIL/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PIL/__init__.py b/src/PIL/__init__.py index 62ad95248..4ed2e4775 100644 --- a/src/PIL/__init__.py +++ b/src/PIL/__init__.py @@ -13,6 +13,7 @@ from . import version +# PILLOW_VERSION and VERSION are deprecated and will be removed in Pillow 6.0.0. Use __version__ instead. PILLOW_VERSION = VERSION = __version__ = version.__version__ _plugins = ['BlpImagePlugin',