Use a single version number, no need for confusing PIL version 1.1.7

This commit is contained in:
Hugo 2018-04-09 17:59:58 +03:00
parent e24fad40ad
commit c2dbb0a3c5
2 changed files with 1 additions and 6 deletions

View File

@ -11,8 +11,6 @@ class TestSanity(PillowTestCase):
# Make sure we have the binary extension
im = PIL.Image.core.new("L", (100, 100))
self.assertEqual(PIL.Image.VERSION[:3], '1.1')
# Create an image and do stuff with it.
im = PIL.Image.new("1", (100, 100))
self.assertEqual((im.mode, im.size), ('1', (100, 100)))

View File

@ -13,10 +13,7 @@
from . import version
VERSION = '1.1.7' # PIL Version
PILLOW_VERSION = version.__version__
__version__ = PILLOW_VERSION
PILLOW_VERSION = VERSION = __version__ = version.__version__
_plugins = ['BlpImagePlugin',
'BmpImagePlugin',