changeset 569:1bdf88437555

FIX: zip_safe: make zip_safe False if extensions are to be built
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 08 Jan 2022 17:10:33 +0100
parents ed1f0fdcda65
children e15e86c47a27
files setup.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Sat Jan 08 17:28:01 2022 +0100
+++ b/setup.py	Sat Jan 08 17:10:33 2022 +0100
@@ -104,6 +104,9 @@
 
 if ext_modules:
     setup_extra_kwds["ext_modules"] = ext_modules
+    setup_extra_kwds["zip_safe"] = False
+else:
+    setup_extra_kwds["zip_safe"] = True
 if cmdclass:
     setup_extra_kwds["cmdclass"] = cmdclass
 
@@ -119,7 +122,6 @@
     packages=["configmix",
               "configmix.extras"],
     include_package_data=False,
-    zip_safe=True,
     platforms="any",
     classifiers=[
         "Development Status :: 5 - Production/Stable",