Skip to content

Commit

Permalink
Double quotes for old CPython on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Oct 28, 2022
1 parent fb0e7cd commit 3ffd2b2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions setup.py
Expand Up @@ -15,9 +15,7 @@
import sys
import warnings

from setuptools import Extension
from setuptools import __version__ as setuptools_version
from setuptools import setup
from setuptools import Extension, setup
from setuptools.command.build_ext import build_ext


Expand Down Expand Up @@ -852,7 +850,6 @@ def build_extensions(self):
sys.platform == "win32"
and sys.version_info < (3, 9)
and not (PLATFORM_PYPY or PLATFORM_MINGW)
and int(setuptools_version.split(".")[0]) < 60
):
defs.append(("PILLOW_VERSION", f'"\\"{PILLOW_VERSION}\\""'))
else:
Expand Down

0 comments on commit 3ffd2b2

Please sign in to comment.