Commit 1a060fd7 by Wenzel Jakob

function for retrieving the header file path (fixes #158)

parent ef7a9b9a
from ._version import version_info, __version__ from ._version import version_info, __version__
def get_include():
import os
try:
from pip import locations
return os.path.dirname(
locations.distutils_scheme('pybind11')['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