[Python-checkins] python/dist/src setup.py,1.73.4.14,1.73.4.15

jlt63@users.sourceforge.net jlt63@users.sourceforge.net
Fri, 21 Feb 2003 04:18:19 -0800


Update of /cvsroot/python/python/dist/src
In directory sc8-pr-cvs1:/tmp/cvs-serv8463

Modified Files:
      Tag: release22-maint
	setup.py 
Log Message:
Patch #491107: Cygwin setup.py import workaround patch

Back patched to the 2.2.x branch.


Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/setup.py,v
retrieving revision 1.73.4.14
retrieving revision 1.73.4.15
diff -C2 -d -r1.73.4.14 -r1.73.4.15
*** setup.py	24 Dec 2002 14:52:49 -0000	1.73.4.14
--- setup.py	21 Feb 2003 12:18:17 -0000	1.73.4.15
***************
*** 162,165 ****
--- 162,171 ----
                  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,