mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-14 05:36:48 +03:00
Disable extra quotes
This commit is contained in:
parent
9ea7721a71
commit
3a0881dffe
7
setup.py
7
setup.py
|
@ -847,13 +847,6 @@ class pil_build_ext(build_ext):
|
||||||
if struct.unpack("h", b"\0\1")[0] == 1:
|
if struct.unpack("h", b"\0\1")[0] == 1:
|
||||||
defs.append(("WORDS_BIGENDIAN", None))
|
defs.append(("WORDS_BIGENDIAN", None))
|
||||||
|
|
||||||
if (
|
|
||||||
sys.platform == "win32"
|
|
||||||
and sys.version_info < (3, 9)
|
|
||||||
and not (PLATFORM_PYPY or PLATFORM_MINGW)
|
|
||||||
):
|
|
||||||
defs.append(("PILLOW_VERSION", f'"\\"{PILLOW_VERSION}\\""'))
|
|
||||||
else:
|
|
||||||
defs.append(("PILLOW_VERSION", f'"{PILLOW_VERSION}"'))
|
defs.append(("PILLOW_VERSION", f'"{PILLOW_VERSION}"'))
|
||||||
|
|
||||||
self._update_extension("PIL._imaging", libs, defs)
|
self._update_extension("PIL._imaging", libs, defs)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user