mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Deprecate PILLOW_VERSION and VERSION, use __version__ instead
This commit is contained in:
parent
e33dd498f5
commit
d80ed2e948
|
@ -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
|
||||
|
||||
|
|
|
@ -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__
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user