Skip to content

Commit

Permalink
Deprecate PILLOW_VERSION and VERSION, use __version__ instead
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Apr 11, 2018
1 parent c6bad26 commit 8f965ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/PIL/Image.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

import logging
Expand Down
1 change: 1 addition & 0 deletions src/PIL/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__

Expand Down

0 comments on commit 8f965ac

Please sign in to comment.