diff setup.py @ 28008:a4f9d91a321a 2.2

Patch #491107: Cygwin setup.py import workaround patch Back patched to the 2.2.x branch.
author Jason Tishler <jason@tishler.net>
date Fri, 21 Feb 2003 12:18:17 +0000
parents bc7f8913f5ca
children db9845907e8b
line wrap: on
line diff
--- a/setup.py	Fri Feb 21 07:16:37 2003 +0000
+++ b/setup.py	Fri Feb 21 12:18:17 2003 +0000
@@ -161,6 +161,12 @@
                 'WARNING: skipping import check for Carbon-based "%s"' %
                 ext.name)
             return
+        # Workaround for Cygwin: Cygwin currently has fork issues when many
+        # modules have been imported
+        if self.get_platform() == 'cygwin':
+            self.announce('WARNING: skipping import check for Cygwin-based "%s"'
+                % ext.name)
+            return
         ext_filename = os.path.join(
             self.build_lib,
             self.get_ext_filename(self.get_ext_fullname(ext.name)))