From 5a2924275c5abc3db0e841afd60c528d894c7bbd Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Fri, 22 Apr 2016 10:56:58 +0200 Subject: [PATCH] pybind11.get_include(): added *args and **kwargs pass-through parameters --- pybind11/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pybind11/__init__.py b/pybind11/__init__.py index af8f14a8e..dc0ddf6f3 100644 --- a/pybind11/__init__.py +++ b/pybind11/__init__.py @@ -1,11 +1,11 @@ from ._version import version_info, __version__ -def get_include(): +def get_include(*args, **kwargs): import os try: from pip import locations return os.path.dirname( - locations.distutils_scheme('pybind11')['headers']) + locations.distutils_scheme('pybind11', *args, **kwargs)['headers']) except ImportError: return 'include'