mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-13 05:06:49 +03:00
Double quotes for old CPython on Windows
This commit is contained in:
parent
fb0e7cdd91
commit
3ffd2b2b8f
5
setup.py
5
setup.py
|
@ -15,9 +15,7 @@ import subprocess
|
||||||
import sys
|
import sys
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
from setuptools import Extension
|
from setuptools import Extension, setup
|
||||||
from setuptools import __version__ as setuptools_version
|
|
||||||
from setuptools import setup
|
|
||||||
from setuptools.command.build_ext import build_ext
|
from setuptools.command.build_ext import build_ext
|
||||||
|
|
||||||
|
|
||||||
|
@ -852,7 +850,6 @@ class pil_build_ext(build_ext):
|
||||||
sys.platform == "win32"
|
sys.platform == "win32"
|
||||||
and sys.version_info < (3, 9)
|
and sys.version_info < (3, 9)
|
||||||
and not (PLATFORM_PYPY or PLATFORM_MINGW)
|
and not (PLATFORM_PYPY or PLATFORM_MINGW)
|
||||||
and int(setuptools_version.split(".")[0]) < 60
|
|
||||||
):
|
):
|
||||||
defs.append(("PILLOW_VERSION", f'"\\"{PILLOW_VERSION}\\""'))
|
defs.append(("PILLOW_VERSION", f'"\\"{PILLOW_VERSION}\\""'))
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user