pybind11/tools
Stefano Rivera 465b2e0bd8
Use sysconfig in Python >= 3.10 (#3764)
* Use sysconfig in Python >= 3.10

Rely on sysconfig for installation paths for Python >= 3.10. distutils
has been deprecated and will be removed.

Fixes: #3677

* Explicitly select the posix_prefix scheme for platinclude on Debian

Debian's default scheme is posix_local, for installing locally-built
packages to /usr/local/.  We want to find the Python headers in /usr/,
so search posix_prefix.
2022-03-01 13:47:10 -05:00
..
FindCatch.cmake fix: minor CMake warning fix for unused variable (#3718) 2022-02-10 17:03:33 -05:00
FindEigen3.cmake style: avoid using unintialized variables (#2806) 2021-01-19 18:48:22 -05:00
FindPythonLibsNew.cmake Use sysconfig in Python >= 3.10 (#3764) 2022-03-01 13:47:10 -05:00
check-style.sh Add shellcheck style checking (#3114) 2021-07-14 16:52:13 -04:00
cmake_uninstall.cmake.in format: include .in files 2020-08-06 11:54:41 -04:00
libsize.py chore: drop Python 3.5 (#3719) 2022-02-11 19:06:16 -05:00
make_changelog.py Python 2 removal part 1: tests (C++ code is intentionally ~untouched) (#3688) 2022-02-10 18:28:08 -08:00
pybind11Common.cmake Python 2 removal part 1: tests (C++ code is intentionally ~untouched) (#3688) 2022-02-10 18:28:08 -08:00
pybind11Config.cmake.in chore: drop Python 3.5 (#3719) 2022-02-11 19:06:16 -05:00
pybind11NewTools.cmake chore: drop Python 3.5 (#3719) 2022-02-11 19:06:16 -05:00
pybind11Tools.cmake chore: drop Python 3.5 (#3719) 2022-02-11 19:06:16 -05:00
pyproject.toml ci: releases (#2530) 2020-09-30 15:48:08 -04:00
setup_global.py.in chore: drop Python 3.5 (#3719) 2022-02-11 19:06:16 -05:00
setup_main.py.in chore: drop Python 3.5 (#3719) 2022-02-11 19:06:16 -05:00