Deprecate PILLOW_VERSION and VERSION, use __version__ instead

This commit is contained in:
Hugo 2018-04-11 12:16:34 +03:00
parent e33dd498f5
commit d80ed2e948
2 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@
# See the README file for information on usage and redistribution.
#
# PILLOW_VERSION and VERSION are deprecated and will be removed in Pillow 6.0.0. Use __version__ instead.
from . import VERSION, PILLOW_VERSION, __version__, _plugins
from ._util import py3

View File

@ -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.
VERSION = '1.1.7' # PIL Version
PILLOW_VERSION = __version__ = _version.__version__