Commit 8bb38e48 authored by Manuel Günther's avatar Manuel Günther
Browse files

Added some debug output to chase the Travis build errors on py3

parent b1d049f3
......@@ -629,8 +629,12 @@ class build_ext(_build_ext):
if fullname in self.ext_map:
ext = self.ext_map[fullname]
if isinstance(ext, Library):
print (self.__dict__)
print (ext.__dict__)
print (distutils.sysconfig.get_config_var("SO"))
# remove any extension that was artificially added by python
basename = filename.replace(distutils.sysconfig.get_config_var("SO"), "")
print (filename, basename, get_full_libname(os.path.basename(basename), os.path.dirname(basename)))
return get_full_libname(os.path.basename(basename), os.path.dirname(basename))
else:
return _build_ext.get_ext_filename(self, fullname)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment