You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
336 B

8 years ago
  1. from ._version import version_info, __version__ # noqa: F401 imported but unused
  2. def get_include(*args, **kwargs):
  3. import os
  4. try:
  5. from pip import locations
  6. return os.path.dirname(
  7. locations.distutils_scheme('pybind11', *args, **kwargs)['headers'])
  8. except ImportError:
  9. return 'include'