pybind11.get_include(): added *args and **kwargs pass-through parameters

This commit is contained in:
Wenzel Jakob 2016-04-22 10:56:58 +02:00
parent 7ca2755880
commit 5a2924275c

View File

@ -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'