mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-26 23:22:01 +00:00
522c59ceb2
* chore: drop Python 3.5 support * chore: more fstrings with flynt's help * ci: drop Python 3.5 * chore: bump dependency versions * docs: touch up py::args * tests: remove deprecation warning * Ban smartquotes * Very minor tweaks (by-product of reviewing PR #3719). Co-authored-by: Aaron Gokaslan <skylion.aaron@gmail.com> Co-authored-by: Ralf W. Grosse-Kunstleve <rwgk@google.com>
17 lines
370 B
Python
17 lines
370 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
|
|
|
|
__all__ = (
|
|
"version_info",
|
|
"__version__",
|
|
"get_include",
|
|
"get_cmake_dir",
|
|
)
|