From 05c60f53b7b58c2ec3e477b3caf300759546c2a8 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Thu, 3 Jan 2019 11:01:23 -0500 Subject: [PATCH] Update pybind aksetup for Py2 compat --- aksetup_helper.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aksetup_helper.py b/aksetup_helper.py index 0b531850..e86f4cd8 100644 --- a/aksetup_helper.py +++ b/aksetup_helper.py @@ -92,7 +92,7 @@ class NumpyBuildExtCommand(BaseBuildExtCommand): if numpy_incpath not in extension.include_dirs: extension.include_dirs.append(numpy_incpath) - super(NumpyBuildExtCommand, self).build_extension(extension) + BaseBuildExtCommand.build_extension(self, extension) # {{{ tools @@ -878,7 +878,7 @@ def check_pybind11(): count_down_delay(delay=10) -# {{{ boilerplate from https://github.com/pybind/python_example/blob/2ed5a68759cd6ff5d2e5992a91f08616ef457b5c/setup.py # noqa +# {{{ (modified) boilerplate from https://github.com/pybind/python_example/blob/2ed5a68759cd6ff5d2e5992a91f08616ef457b5c/setup.py # noqa class get_pybind_include(object): # noqa: N801 """Helper class to determine the pybind11 include path @@ -949,7 +949,7 @@ class PybindBuildExtCommand(NumpyBuildExtCommand): for ext in self.extensions: ext.extra_compile_args = ext.extra_compile_args + opts - super(PybindBuildExtCommand, self).build_extensions() + NumpyBuildExtCommand.build_extensions(self) # }}} -- GitLab