Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ed56288

Browse files
committed
BUG: retrieve build_clib in build_ext even if it has already been run.
1 parent de2d495 commit ed56288

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

numpy/distutils/command/build_ext.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ def run(self):
6161
if self.distribution.have_run.get('build_clib'):
6262
log.warn('build_clib already run, it is too late to ' \
6363
'ensure in-place build of build_clib')
64+
build_clib = self.distribution.get_command_obj('build_clib')
6465
else:
6566
build_clib = self.distribution.get_command_obj('build_clib')
6667
build_clib.inplace = 1

0 commit comments

Comments
 (0)