Skip to content

Commit

Permalink
Merge pull request #6695 from hugovk/fix-setuptools
Browse files Browse the repository at this point in the history
Double quotes for old CPython on Windows
  • Loading branch information
hugovk committed Oct 29, 2022
2 parents b656d85 + 3ffd2b2 commit e849e93
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 e849e93

Please sign in to comment.