|
|
@ -320,11 +320,11 @@ class BuildExt(build_ext.build_ext): |
|
|
|
extension.extra_link_args += list(BuildExt.LINK_OPTIONS[compiler]) |
|
|
|
extension.extra_link_args += list(BuildExt.LINK_OPTIONS[compiler]) |
|
|
|
try: |
|
|
|
try: |
|
|
|
build_ext.build_ext.build_extensions(self) |
|
|
|
build_ext.build_ext.build_extensions(self) |
|
|
|
except KeyboardInterrupt: |
|
|
|
|
|
|
|
raise |
|
|
|
|
|
|
|
except Exception as error: |
|
|
|
except Exception as error: |
|
|
|
support.diagnose_build_ext_error(self, error, traceback.format_exc()) |
|
|
|
formatted_exception = traceback.format_exc() |
|
|
|
raise CommandError("Failed `build_ext` step.") |
|
|
|
support.diagnose_build_ext_error(self, error, formatted_exception) |
|
|
|
|
|
|
|
raise CommandError( |
|
|
|
|
|
|
|
"Failed `build_ext` step:\n{}".format(formatted_exception)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Gather(setuptools.Command): |
|
|
|
class Gather(setuptools.Command): |
|
|
|