From 02934f8a3312d827827c6588c17a217f548790fe Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.anjos@idiap.ch> Date: Wed, 15 Jan 2014 12:04:39 +0100 Subject: [PATCH] Provide get_include() --- src/xbob.io | 2 +- xbob/learn/activation/__init__.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/xbob.io b/src/xbob.io index 7892708..b919404 160000 --- a/src/xbob.io +++ b/src/xbob.io @@ -1 +1 @@ -Subproject commit 7892708682bea5855818809ea6340d26c7c7f389 +Subproject commit b919404de7021dd8b401a0f384e68756eda8f6da diff --git a/xbob/learn/activation/__init__.py b/xbob/learn/activation/__init__.py index 907b5a4..2bf07dc 100644 --- a/xbob/learn/activation/__init__.py +++ b/xbob/learn/activation/__init__.py @@ -1,2 +1,7 @@ from ._library import * from ._library import __version__, __api_version__ + +def get_include(): + """Returns the directory containing the C/C++ API include directives""" + + return __import__('pkg_resources').resource_filename(__name__, 'include') -- GitLab