Skip to content

Commit c9b2c37

Browse files
committed
Remove zip_safe=False flag from setup.py.
The flag only matters when installing from eggs (https://setuptools.readthedocs.io/en/latest/setuptools.html#setting-the-zip-safe-flag) which are mostly unused nowadays, and setuptools will still correctly infer that matplotlib is not "zip_safe" based on the presence of extension modules even when zip_safe=False is not explicitly set.
1 parent 9a8df49 commit c9b2c37

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

setup.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,5 @@ def run(self):
288288
install_requires=install_requires,
289289
setup_requires=setup_requires,
290290

291-
# matplotlib has C/C++ extensions, so it's not zip safe.
292-
# Telling setuptools this prevents it from doing an automatic
293-
# check for zip safety.
294-
zip_safe=False,
295291
cmdclass=cmdclass,
296292
)

0 commit comments

Comments
 (0)