mirror of
https://github.com/pybind/pybind11.git
synced 2025-01-31 07:10:30 +00:00
5bdd3d59be
* add installation support for pkg-config dependency detection pkg-config is a buildsystem-agnostic alternative to `pybind11Config.cmake` that can be used from build systems other than cmake. Fixes #230 * tests: add test for pkg config Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com>
18 lines
414 B
Python
18 lines
414 B
Python
import sys
|
|
|
|
if sys.version_info < (3, 6):
|
|
msg = "pybind11 does not support Python < 3.6. 2.9 was the last release supporting Python 2.7 and 3.5."
|
|
raise ImportError(msg)
|
|
|
|
|
|
from ._version import __version__, version_info
|
|
from .commands import get_cmake_dir, get_include, get_pkgconfig_dir
|
|
|
|
__all__ = (
|
|
"version_info",
|
|
"__version__",
|
|
"get_include",
|
|
"get_cmake_dir",
|
|
"get_pkgconfig_dir",
|
|
)
|