1. 02 Mar, 2022 1 commit
    • Stefano Rivera's avatar
      Use sysconfig in Python >= 3.10 (#3764) · bdec5737
      Stefano Rivera authored
      * 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.
      bdec5737
  2. 19 Jan, 2021 1 commit
  3. 05 Nov, 2020 1 commit
  4. 15 Oct, 2020 1 commit
  5. 19 Aug, 2020 1 commit
    • Henry Schreiner's avatar
      feat: new FindPython support (#2370) · 1729aae9
      Henry Schreiner authored
      * feat: FindPython support
      
      * refactor: rename to PYBIND11_FINDPYTHON
      
      * docs: Caps fixes
      
      * feat: NOPYTHON mode
      
      * test: check simple call
      
      * docs: add changelog/upgrade guide
      
      * feat: Support Python3 and Python2
      
      * refactor: Use targets in tests
      
      * fix: support CMake 3.4+
      
      * feat: classic search also finds virtual environments
      
      * docs: some updates from @wjakob's review
      
      * fix: wrong name for QUIET mode variable, reported by @skoslowski
      
      * refactor: cleaner output messaging
      
      * fix: support debug Python's in FindPython mode too
      
      * fixup! refactor: cleaner output messaging
      
      * fix: missing pybind11_FOUND and pybind11_INCLUDE_DIR restored to subdir mode
      
      * fix: nicer reporting of Python / PyPy
      
      * fix: out-of-order variable fix
      
      * docs: minor last-minute cleanup
      1729aae9
  6. 06 Aug, 2020 2 commits
  7. 31 Jul, 2020 1 commit
  8. 21 Jul, 2020 1 commit
  9. 30 Jun, 2020 2 commits
  10. 22 Jan, 2020 1 commit
  11. 05 Jan, 2020 1 commit
  12. 14 Nov, 2019 1 commit
  13. 13 Aug, 2019 1 commit
  14. 12 May, 2019 1 commit
  15. 24 Oct, 2018 1 commit
  16. 11 Jan, 2018 1 commit
  17. 23 Jul, 2017 1 commit
  18. 22 Nov, 2016 1 commit
  19. 09 Oct, 2016 1 commit
  20. 27 Aug, 2016 1 commit
  21. 08 Aug, 2016 1 commit
    • Christian Ewald's avatar
      Fixed finding python libraries on windows in venv · b81c500c
      Christian Ewald authored
      When run on windows in a venv, PYTHON_LIBRARY pointet to a non-existant
      location in the virtual environment directory.
      
      This has been fixed by testing if the path exists and, if not, trying
      an alternative path, relative to the PYTHON_INCLUDE_DIR.
      
      If the alternative path doesn't exit as well, an error will be raised.
      b81c500c
  22. 12 Jun, 2016 1 commit
  23. 22 May, 2016 1 commit