Commit 5a292427 by Wenzel Jakob

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

parent 7ca27558
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'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment