@@ -28,7 +28,7 @@ def show_compilers ():
2828
2929
3030class build_ext (Command ):
31-
31+
3232 description = "build C/C++ extensions (compile/link to build directory)"
3333
3434 # XXX thoughts on how to deal with complex command-line options like
@@ -123,7 +123,7 @@ def finalize_options (self):
123123 self .package = self .distribution .ext_package
124124
125125 self .extensions = self .distribution .ext_modules
126-
126+
127127
128128 # Make sure Python's include directories (for Python.h, pyconfig.h,
129129 # etc.) are in the include search path.
@@ -181,7 +181,7 @@ def finalize_options (self):
181181 # it has to be a list of 2-tuples. All the preprocessor symbols
182182 # specified by the 'define' option will be set to '1'. Multiple
183183 # symbols can be separated with commas.
184-
184+
185185 if self .define :
186186 defines = string .split (self .define , ',' )
187187 self .define = map (lambda symbol : (symbol , '1' ), defines )
@@ -193,7 +193,7 @@ def finalize_options (self):
193193 self .undef = string .split (self .undef , ',' )
194194
195195 # finalize_options ()
196-
196+
197197
198198 def run (self ):
199199
@@ -202,7 +202,7 @@ def run (self):
202202 # 'self.extensions', as supplied by setup.py, is a list of
203203 # Extension instances. See the documentation for Extension (in
204204 # distutils.extension) for details.
205- #
205+ #
206206 # For backwards compatibility with Distutils 0.8.2 and earlier, we
207207 # also allow the 'extensions' list to be a list of tuples:
208208 # (ext_name, build_info)
@@ -271,7 +271,7 @@ def check_extensions_list (self, extensions):
271271 if type (extensions ) is not ListType :
272272 raise DistutilsSetupError , \
273273 "'ext_modules' option must be a list of Extension instances"
274-
274+
275275 for i in range (len (extensions )):
276276 ext = extensions [i ]
277277 if isinstance (ext , Extension ):
@@ -280,7 +280,7 @@ def check_extensions_list (self, extensions):
280280
281281 (ext_name , build_info ) = ext
282282 self .warn (("old-style (ext_name, build_info) tuple found in "
283- "ext_modules for extension '%s'"
283+ "ext_modules for extension '%s'"
284284 "-- please convert to Extension instance" % ext_name ))
285285 if type (ext ) is not TupleType and len (ext ) != 2 :
286286 raise DistutilsSetupError , \
@@ -465,12 +465,12 @@ def build_extension(self, ext):
465465
466466
467467 self .compiler .link_shared_object (
468- objects , ext_filename ,
468+ objects , ext_filename ,
469469 libraries = self .get_libraries (ext ),
470470 library_dirs = ext .library_dirs ,
471471 runtime_library_dirs = ext .runtime_library_dirs ,
472472 extra_postargs = extra_args ,
473- export_symbols = self .get_export_symbols (ext ),
473+ export_symbols = self .get_export_symbols (ext ),
474474 debug = self .debug ,
475475 build_temp = self .build_temp )
476476
@@ -549,7 +549,7 @@ def find_swig (self):
549549 "on platform '%s'" ) % os .name
550550
551551 # find_swig ()
552-
552+
553553 # -- Name generators -----------------------------------------------
554554 # (extension names, filenames, whatever)
555555
0 commit comments