Skip to content

Commit 1cf685c

Browse files
authored
Remove Setuptools obsolete zip_safe flag (#9758)
1 parent 67cad9c commit 1cf685c

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

setup.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,10 +1065,6 @@ def summary_report(self, feature: ext_feature) -> None:
10651065
print("")
10661066

10671067

1068-
def debug_build() -> bool:
1069-
return hasattr(sys, "gettotalrefcount") or FUZZING_BUILD
1070-
1071-
10721068
libraries: list[tuple[str, _BuildInfo]] = [
10731069
("pil_imaging_mode", {"sources": ["src/libImaging/Mode.c"]}),
10741070
]
@@ -1099,7 +1095,6 @@ def debug_build() -> bool:
10991095
cmdclass={"build_ext": pil_build_ext},
11001096
ext_modules=ext_modules,
11011097
libraries=libraries,
1102-
zip_safe=not (debug_build() or PLATFORM_MINGW),
11031098
)
11041099
except RequiredDependencyException as err:
11051100
msg = f"""

0 commit comments

Comments
 (0)