- 01 Mar, 2022 1 commit
-
-
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.
-
- 12 Feb, 2022 1 commit
-
-
Henry Schreiner authored
* 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>
-
- 11 Feb, 2022 1 commit
-
-
Ralf W. Grosse-Kunstleve authored
* `#error BYE_BYE_GOLDEN_SNAKE` * Removing everything related to 2.7 from ci.yml * Commenting-out Centos7 * Removing `PYTHON: 27` from .appveyor.yml * "PY2" removal, mainly from tests. C++ code is not touched. * Systematic removal of `u` prefix from `u"..."` and `u'...'` literals. Collateral cleanup of a couple minor other things. * Cleaning up around case-insensitive hits for `[^a-z]py.*2` in tests/. * Removing obsolete Python 2 mention in compiling.rst * Proper `#error` for Python 2. * Using PY_VERSION_HEX to guard `#error "PYTHON 2 IS NO LONGER SUPPORTED.` * chore: bump pre-commit * style: run pre-commit for pyupgrade 3+ * tests: use sys.version_info, not PY * chore: more Python 2 removal * Uncommenting Centos7 block (PR #3691 showed that it is working again). * Update pre-commit hooks * Fix pre-commit hook * refactor: remove Python 2 from CMake * refactor: remove Python 2 from setup code * refactor: simplify, better static typing * feat: fail with nice messages * refactor: drop Python 2 C++ code * docs: cleanup for Python 3 * revert: intree revert: intree * docs: minor touchup to py2 statement Co-authored-by:
Henry Schreiner <henryschreineriii@gmail.com> Co-authored-by:
Aaron Gokaslan <skylion.aaron@gmail.com>
-
- 19 Jan, 2021 1 commit
-
-
Henry Schreiner authored
* style: avoid using unintialized variables Tested with cmake --warn-unintialized -S . -B build * refactor: use function for possibly uninit vars
-
- 05 Nov, 2020 1 commit
-
-
Henry Schreiner authored
* fix: match new extension discovery with changes to classic discovery Followup to #2638 - this was fixed in 2.6.0, but only for classic Python * fix: followup to avoid warnings
-
- 15 Oct, 2020 1 commit
-
-
Henry Schreiner authored
-
- 19 Aug, 2020 1 commit
-
-
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
-
- 06 Aug, 2020 2 commits
-
-
Henry Schreiner authored
-
Henry Schreiner authored
-
- 31 Jul, 2020 1 commit
-
-
Henry Schreiner authored
-
- 21 Jul, 2020 1 commit
-
-
Liam Keegan authored
- look for windows python lib when using mingw & msys - if not found, then look for system python lib as before
-
- 30 Jun, 2020 2 commits
-
-
Nils Leif Fischer authored
-
Takahiro Ishikawa authored
pybind11_add_module fails because FindPythonLibsNew.cmake try to link PythonXX.lib, but the first letter "p" should be lowercase.
-
- 22 Jan, 2020 1 commit
-
-
Baljak authored
-
- 05 Jan, 2020 1 commit
-
-
Baljak authored
-
- 14 Nov, 2019 1 commit
-
-
Matthew Dawkins authored
-
- 13 Aug, 2019 1 commit
-
-
Christoph Kahl authored
-
- 12 May, 2019 1 commit
-
-
Jamie Snape authored
Since the module is named FindPythonLibsNew, PythonLibsNew_FOUND should be set appropriately.
-
- 24 Oct, 2018 1 commit
-
-
Ryota Suzuki authored
-
- 11 Jan, 2018 1 commit
-
-
luz.paz authored
Found via `codespell`
-
- 23 Jul, 2017 1 commit
-
-
Dean Moldovan authored
Make sure `LibsNew` runs correctly if called after the old `Libs`.
-
- 22 Nov, 2016 1 commit
-
-
Jason Rhinelander authored
* Use LIBDIR and MULTIARCH on linux to find python library * Remove apple-specific setting; the non-windows one should work fine on OS X * Default LIBDIR/MULTIARCH to '' (to avoid getting None) * Remove trailing whitespace from FindPythonLibsNew
-
- 09 Oct, 2016 1 commit
-
-
Wenzel Jakob authored
-
- 27 Aug, 2016 1 commit
-
-
Dean Moldovan authored
Fixes #365. `sysconfig.get_config_var('SO')` already returns the correct PYTHON_MODULE_EXTENSION, even for debug builds, so there is no need to add anything else manually.
-
- 08 Aug, 2016 1 commit
-
-
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.
-
- 12 Jun, 2016 1 commit
-
-
Dean Moldovan authored
Also: - Update documented result variables - Remove long-ago-deprecated variable
-
- 22 May, 2016 1 commit
-
-
Dean Moldovan authored
-