|
- diff --git a/setup.py b/setup.py
- index 52babbc..60426d4 100755
- --- a/setup.py
- +++ b/setup.py
- @@ -1017,7 +1017,6 @@ try:
- packages=["PIL"],
- package_dir={"": "src"},
- keywords=["Imaging"],
- - zip_safe=not (debug_build() or PLATFORM_MINGW),
- )
- except RequiredDependencyException as err:
- msg = f"""
- diff --git a/src/libImaging/ImPlatform.h b/src/libImaging/ImPlatform.h
- index 9a2060e..c956fc0 100644
- --- a/src/libImaging/ImPlatform.h
- +++ b/src/libImaging/ImPlatform.h
- @@ -34,7 +34,7 @@
- #ifdef _WIN32
-
- #define WIN32_LEAN_AND_MEAN
- -#include <Windows.h>
- +#include <windows.h>
-
- #else
- /* For System that are not Windows, we'll need to define these. */
- diff --git a/setup.py b/setup.py
- index 60426d4..2a922ea 100755
- --- a/setup.py
- +++ b/setup.py
- @@ -291,7 +291,7 @@ class pil_build_ext(build_ext):
- "xcb",
- ]
-
- - required = {"jpeg", "zlib"}
- + required = {"zlib"}
- vendor = set()
-
- def __init__(self):
- diff --git a/setup.py b/setup.py
- index 60426d4..0596287 100755
- --- a/setup.py
- +++ b/setup.py
- @@ -572,16 +572,6 @@ class pil_build_ext(build_ext):
-
- # FIXME: check /opt/stuff directories here?
-
- - # standard locations
- - if not self.disable_platform_guessing:
- - _add_directory(library_dirs, "/usr/local/lib")
- - _add_directory(include_dirs, "/usr/local/include")
- -
- - _add_directory(library_dirs, "/usr/lib")
- - _add_directory(include_dirs, "/usr/include")
- - # alpine, at least
- - _add_directory(library_dirs, "/lib")
- -
- if sys.platform == "win32":
- # on Windows, look for the OpenJPEG libraries in the location that
- # the official installer puts them
|