File tree Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Original file line number Diff line number Diff line change @@ -218,21 +218,20 @@ def build_extension(self, ext):
218218
219219 shutil .copyfile (dylib_path , ext_path )
220220
221- if sys .platform != "win32" :
222- if not debug_build :
223- args = []
224- if ext .strip == Strip .All :
225- args .append ('-x' )
226- elif ext .strip == Strip .Debug :
227- args .append ('-S' )
228-
229- if args :
230- args .insert (0 , 'strip' )
231- args .append (ext_path )
232- try :
233- output = subprocess .check_output (args , env = env )
234- except subprocess .CalledProcessError as e :
235- pass
221+ if sys .platform != "win32" and not debug_build :
222+ args = []
223+ if ext .strip == Strip .All :
224+ args .append ('-x' )
225+ elif ext .strip == Strip .Debug :
226+ args .append ('-S' )
227+
228+ if args :
229+ args .insert (0 , 'strip' )
230+ args .append (ext_path )
231+ try :
232+ output = subprocess .check_output (args , env = env )
233+ except subprocess .CalledProcessError as e :
234+ pass
236235
237236 if executable :
238237 mode = os .stat (ext_path ).st_mode
You can’t perform that action at this time.
0 commit comments