[Python-checkins] CVS: python/dist/src/Lib/distutils/command build_ext.py,1.75,1.76
Fred L. Drake
fdrake@users.sourceforge.net
Thu, 06 Dec 2001 13:01:21 -0800
Update of /cvsroot/python/python/dist/src/Lib/distutils/command
In directory usw-pr-cvs1:/tmp/cvs-serv28158
Modified Files:
build_ext.py
Log Message:
Whitespace normalization.
Index: build_ext.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/command/build_ext.py,v
retrieving revision 1.75
retrieving revision 1.76
diff -C2 -d -r1.75 -r1.76
*** build_ext.py 2001/07/26 13:41:05 1.75
--- build_ext.py 2001/12/06 21:01:19 1.76
***************
*** 29,33 ****
class build_ext (Command):
!
description = "build C/C++ extensions (compile/link to build directory)"
--- 29,33 ----
class build_ext (Command):
!
description = "build C/C++ extensions (compile/link to build directory)"
***************
*** 124,129 ****
self.extensions = self.distribution.ext_modules
-
# Make sure Python's include directories (for Python.h, pyconfig.h,
# etc.) are in the include search path.
--- 124,129 ----
self.extensions = self.distribution.ext_modules
+
# Make sure Python's include directories (for Python.h, pyconfig.h,
# etc.) are in the include search path.
***************
*** 182,186 ****
# specified by the 'define' option will be set to '1'. Multiple
# symbols can be separated with commas.
!
if self.define:
defines = string.split(self.define, ',')
--- 182,186 ----
# specified by the 'define' option will be set to '1'. Multiple
# symbols can be separated with commas.
!
if self.define:
defines = string.split(self.define, ',')
***************
*** 194,198 ****
# finalize_options ()
!
def run (self):
--- 194,198 ----
# finalize_options ()
!
def run (self):
***************
*** 203,207 ****
# Extension instances. See the documentation for Extension (in
# distutils.extension) for details.
! #
# For backwards compatibility with Distutils 0.8.2 and earlier, we
# also allow the 'extensions' list to be a list of tuples:
--- 203,207 ----
# Extension instances. See the documentation for Extension (in
# distutils.extension) for details.
! #
# For backwards compatibility with Distutils 0.8.2 and earlier, we
# also allow the 'extensions' list to be a list of tuples:
***************
*** 272,276 ****
raise DistutilsSetupError, \
"'ext_modules' option must be a list of Extension instances"
!
for i in range(len(extensions)):
ext = extensions[i]
--- 272,276 ----
raise DistutilsSetupError, \
"'ext_modules' option must be a list of Extension instances"
!
for i in range(len(extensions)):
ext = extensions[i]
***************
*** 281,285 ****
(ext_name, build_info) = ext
self.warn(("old-style (ext_name, build_info) tuple found in "
! "ext_modules for extension '%s'"
"-- please convert to Extension instance" % ext_name))
if type(ext) is not TupleType and len(ext) != 2:
--- 281,285 ----
(ext_name, build_info) = ext
self.warn(("old-style (ext_name, build_info) tuple found in "
! "ext_modules for extension '%s'"
"-- please convert to Extension instance" % ext_name))
if type(ext) is not TupleType and len(ext) != 2:
***************
*** 466,475 ****
self.compiler.link_shared_object(
! objects, ext_filename,
libraries=self.get_libraries(ext),
library_dirs=ext.library_dirs,
runtime_library_dirs=ext.runtime_library_dirs,
extra_postargs=extra_args,
! export_symbols=self.get_export_symbols(ext),
debug=self.debug,
build_temp=self.build_temp)
--- 466,475 ----
self.compiler.link_shared_object(
! objects, ext_filename,
libraries=self.get_libraries(ext),
library_dirs=ext.library_dirs,
runtime_library_dirs=ext.runtime_library_dirs,
extra_postargs=extra_args,
! export_symbols=self.get_export_symbols(ext),
debug=self.debug,
build_temp=self.build_temp)
***************
*** 550,554 ****
# find_swig ()
!
# -- Name generators -----------------------------------------------
# (extension names, filenames, whatever)
--- 550,554 ----
# find_swig ()
!
# -- Name generators -----------------------------------------------
# (extension names, filenames, whatever)