mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Disable extra quotes
This commit is contained in:
parent
9ea7721a71
commit
3a0881dffe
9
setup.py
9
setup.py
|
@ -847,14 +847,7 @@ class pil_build_ext(build_ext):
|
|||
if struct.unpack("h", b"\0\1")[0] == 1:
|
||||
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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user