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'