Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28f1a24 commit eba8839Copy full SHA for eba8839
1 file changed
numpy/distutils/command/build_src.py
@@ -244,12 +244,12 @@ def build_npy_pkg_config(self):
244
install_cmd.finalize_options()
245
build_npkg = False
246
gd = {}
247
- if hasattr(install_cmd, 'install_libbase'):
248
- top_prefix = install_cmd.install_libbase
249
- build_npkg = True
250
- elif self.inplace == 1:
+ if self.inplace == 1:
251
top_prefix = '.'
252
build_npkg = True
+ elif hasattr(install_cmd, 'install_libbase'):
+ top_prefix = install_cmd.install_libbase
+ build_npkg = True
253
254
if build_npkg:
255
for pkg, infos in self.distribution.installed_pkg_config.items():
0 commit comments