[Python-checkins] python/dist/src/Lib/distutils cygwinccompiler.py, 1.27, 1.28

tim_one at users.sourceforge.net tim_one at users.sourceforge.net
Wed Aug 4 04:36:20 CEST 2004


Update of /cvsroot/python/python/dist/src/Lib/distutils
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30068/Lib/distutils
Modified Files:
	cygwinccompiler.py 
Log Message:
Whitespace normalization.
Index: cygwinccompiler.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/cygwinccompiler.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** cygwinccompiler.py	3 Aug 2004 12:41:42 -0000	1.27
--- cygwinccompiler.py	4 Aug 2004 02:36:18 -0000	1.28
***************
*** 123,137 ****
 else:
 self.dll_libraries=[]
! 	 # Include the appropriate MSVC runtime library if Python was built
! 	 # with MSVC 7.0 or 7.1.
! 	 msc_pos = sys.version.find('MSC v.')
! 	 if msc_pos != -1:
! 		msc_ver = sys.version[msc_pos+6:msc_pos+10]
! 		if msc_ver == '1300':
! 		 # MSVC 7.0
! 		 self.dll_libraries = ['msvcr70']
! 		elif msc_ver == '1310':
! 		 # MSVC 7.1
! 		 self.dll_libraries = ['msvcr71']
 
 # __init__ ()
--- 123,137 ----
 else:
 self.dll_libraries=[]
! # Include the appropriate MSVC runtime library if Python was built
! # with MSVC 7.0 or 7.1.
! msc_pos = sys.version.find('MSC v.')
! if msc_pos != -1:
! msc_ver = sys.version[msc_pos+6:msc_pos+10]
! if msc_ver == '1300':
! # MSVC 7.0
! self.dll_libraries = ['msvcr70']
! elif msc_ver == '1310':
! # MSVC 7.1
! self.dll_libraries = ['msvcr71']
 
 # __init__ ()
***************
*** 320,334 ****
 self.dll_libraries=[]
 
! 	# Include the appropriate MSVC runtime library if Python was built
! 	# with MSVC 7.0 or 7.1.
! 	msc_pos = sys.version.find('MSC v.')
! 	if msc_pos != -1:
! 	 msc_ver = sys.version[msc_pos+6:msc_pos+10]
! 	 if msc_ver == '1300':
! 		# MSVC 7.0
! 		self.dll_libraries = ['msvcr70']
! 	 elif msc_ver == '1310':
! 		# MSVC 7.1
! 		self.dll_libraries = ['msvcr71']
 
 # __init__ ()
--- 320,334 ----
 self.dll_libraries=[]
 
! # Include the appropriate MSVC runtime library if Python was built
! # with MSVC 7.0 or 7.1.
! msc_pos = sys.version.find('MSC v.')
! if msc_pos != -1:
! msc_ver = sys.version[msc_pos+6:msc_pos+10]
! if msc_ver == '1300':
! # MSVC 7.0
! self.dll_libraries = ['msvcr70']
! elif msc_ver == '1310':
! # MSVC 7.1
! self.dll_libraries = ['msvcr71']
 
 # __init__ ()


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /