From: Jason Tishler Date: Fri, 21 Feb 2003 12:18:17 +0000 (+0000) Subject: Patch #491107: Cygwin setup.py import workaround patch X-Git-Tag: v2.2.3c1~126 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=763603d0e89ab395372b871768d119841d12f26c;p=thirdparty%2FPython%2Fcpython.git Patch #491107: Cygwin setup.py import workaround patch Back patched to the 2.2.x branch. --- diff --git a/setup.py b/setup.py index 4decb2af723b..243481c73afd 100644 --- a/setup.py +++ b/setup.py @@ -161,6 +161,12 @@ class PyBuildExt(build_ext): '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)))