mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-04 21:50:54 +03:00
PILLOW_VERSION will be removed in a future release
This commit is contained in:
parent
c18dce5625
commit
ef9bf76ce8
|
@ -7,8 +7,8 @@ API Changes
|
||||||
Deprecations
|
Deprecations
|
||||||
^^^^^^^^^^^^
|
^^^^^^^^^^^^
|
||||||
|
|
||||||
These version constants have been deprecated and will be removed in the next
|
These version constants have been deprecated. ``VERSION`` will be removed in
|
||||||
major release:
|
Pillow 6.0.0, and ``PILLOW_VERSION`` will be removed in a future release.
|
||||||
|
|
||||||
* ``PIL.VERSION`` (old PIL version 1.1.7)
|
* ``PIL.VERSION`` (old PIL version 1.1.7)
|
||||||
* ``PIL.PILLOW_VERSION``
|
* ``PIL.PILLOW_VERSION``
|
||||||
|
|
|
@ -24,7 +24,9 @@
|
||||||
# See the README file for information on usage and redistribution.
|
# 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.
|
# VERSION is deprecated and will be removed in Pillow 6.0.0.
|
||||||
|
# PILLOW_VERSION is deprecated and will be removed in a future release.
|
||||||
|
# Use __version__ instead.
|
||||||
from . import VERSION, PILLOW_VERSION, __version__, _plugins
|
from . import VERSION, PILLOW_VERSION, __version__, _plugins
|
||||||
from ._util import py3
|
from ._util import py3
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,9 @@
|
||||||
|
|
||||||
from . import _version
|
from . import _version
|
||||||
|
|
||||||
# PILLOW_VERSION and VERSION are deprecated and will be removed in Pillow 6.0.0. Use __version__ instead.
|
# VERSION is deprecated and will be removed in Pillow 6.0.0.
|
||||||
|
# PILLOW_VERSION is deprecated and will be removed in a future release.
|
||||||
|
# Use __version__ instead.
|
||||||
VERSION = '1.1.7' # PIL Version
|
VERSION = '1.1.7' # PIL Version
|
||||||
PILLOW_VERSION = __version__ = _version.__version__
|
PILLOW_VERSION = __version__ = _version.__version__
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user