mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-01-21 06:05:32 +08:00
12 lines
302 B
Python
12 lines
302 B
Python
from ._version import version_info, __version__
|
|
|
|
|
|
def get_include(*args, **kwargs):
|
|
import os
|
|
try:
|
|
from pip import locations
|
|
return os.path.dirname(
|
|
locations.distutils_scheme('pybind11', *args, **kwargs)['headers'])
|
|
except ImportError:
|
|
return 'include'
|