Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Aksetup: fix superclass ref
  • Loading branch information
inducer committed Oct 17, 2015
1 parent 1ae6443 commit 30ff6ce
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions aksetup_helper.py
Expand Up @@ -47,8 +47,11 @@ def get_numpy_incpath(self):
from os.path import join
return join(pathname, "core", "include")

def get_additional_include_dirs(self):
return [self.get_numpy_incpath()]

def get_include_dirs(self):
return self._include_dirs + [self.get_numpy_incpath()]
return self._include_dirs + self.get_additional_include_dirs()

def set_include_dirs(self, value):
self._include_dirs = value
Expand All @@ -64,12 +67,9 @@ def get_module_include_path(self, name):
from pkg_resources import Requirement, resource_filename
return resource_filename(Requirement.parse(name), "%s/include" % name)

@property
def include_dirs(self):
return self._include_dirs + [
self.get_numpy_incpath(),
self.get_module_include_path("pyublas"),
]
def get_additional_include_dirs(self):
return (NumpyExtension.get_additional_include_dirs(self)
+ [self.get_module_include_path("pyublas")])


class HedgeExtension(PyUblasExtension):
Expand Down Expand Up @@ -492,7 +492,7 @@ def __init__(self, lib_base_name, default_lib_name=None):
Libraries.__init__(self, "BOOST_%s" % lib_base_name.upper(),
[default_lib_name],
help="Library names for Boost C++ %s library (without lib or .so)"
% humanize(lib_base_name))
% humanize(lib_base_name))


def set_up_shipped_boost_if_requested(project_name, conf, source_path=None,
Expand Down

0 comments on commit 30ff6ce

Please sign in to comment.