mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 02:06:18 +03:00
Rename VERSION -> PILLOW_VERSION
Provide consistency with version variables elsewhere in package.
This commit is contained in:
parent
acde9de4ca
commit
176987f8aa
6
setup.py
6
setup.py
|
@ -90,7 +90,7 @@ except (ImportError, OSError):
|
||||||
|
|
||||||
|
|
||||||
NAME = 'Pillow'
|
NAME = 'Pillow'
|
||||||
VERSION = '2.4.0'
|
PILLOW_VERSION = '2.4.0'
|
||||||
TCL_ROOT = None
|
TCL_ROOT = None
|
||||||
JPEG_ROOT = None
|
JPEG_ROOT = None
|
||||||
JPEG2K_ROOT = None
|
JPEG2K_ROOT = None
|
||||||
|
@ -622,7 +622,7 @@ class pil_build_ext(build_ext):
|
||||||
print("-" * 68)
|
print("-" * 68)
|
||||||
print("PIL SETUP SUMMARY")
|
print("PIL SETUP SUMMARY")
|
||||||
print("-" * 68)
|
print("-" * 68)
|
||||||
print("version Pillow %s" % VERSION)
|
print("version Pillow %s" % PILLOW_VERSION)
|
||||||
v = sys.version.split("[")
|
v = sys.version.split("[")
|
||||||
print("platform %s %s" % (sys.platform, v[0].strip()))
|
print("platform %s %s" % (sys.platform, v[0].strip()))
|
||||||
for v in v[1:]:
|
for v in v[1:]:
|
||||||
|
@ -718,7 +718,7 @@ class pil_build_ext(build_ext):
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name=NAME,
|
name=NAME,
|
||||||
version=VERSION,
|
version=PILLOW_VERSION,
|
||||||
description='Python Imaging Library (Fork)',
|
description='Python Imaging Library (Fork)',
|
||||||
long_description=(
|
long_description=(
|
||||||
_read('README.rst') + b'\n' +
|
_read('README.rst') + b'\n' +
|
||||||
|
|
Loading…
Reference in New Issue
Block a user