Skip to content

Commit e849e93

Browse files
authored
Merge pull request #6695 from hugovk/fix-setuptools
Double quotes for old CPython on Windows
2 parents b656d85 + 3ffd2b2 commit e849e93

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
import sys
1616
import warnings
1717

18-
from setuptools import Extension
19-
from setuptools import __version__ as setuptools_version
20-
from setuptools import setup
18+
from setuptools import Extension, setup
2119
from setuptools.command.build_ext import build_ext
2220

2321

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

0 commit comments

Comments
 (0)