- 11 Feb, 2022 2 commits
-
-
Chris Ohk authored
-
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>
-
- 16 Nov, 2021 1 commit
-
-
Sergiu Deitsch authored
-
- 12 Aug, 2021 1 commit
-
-
Ralf W. Grosse-Kunstleve authored
* Rollback of PR #3030 (Working around Centos 8 failure). * Adding `-DCMAKE_BUILD_TYPE=Release` * Improving existing workaround (undoing the originally intended rollback). * Fixing minor documentation bug.
-
- 29 Jul, 2021 1 commit
-
-
Henry Schreiner authored
-
- 27 Jul, 2021 1 commit
-
-
Henry Schreiner authored
-
- 19 Jun, 2021 1 commit
-
-
Robert Schütz authored
-
- 06 May, 2021 1 commit
-
-
Akira Kawata authored
-
- 14 Jan, 2021 1 commit
-
-
Henry Schreiner authored
Sometimes programmers want to control this, and while it can be changed after the fact, it's commonly set via a CMAKE_ variable; if that variable is set, we should respect that (like the CMAKE_INTERPROCEDURAL_OPTIMIZATION setting).
-
- 03 Oct, 2020 1 commit
-
-
Henry Schreiner authored
* feat: import check as a common function * docs: add cmake to docs
-
- 22 Aug, 2020 1 commit
-
-
Henry Schreiner authored
* fix: reduce target collision in add_submodule mode Closes #2420 * fix: update CMakeLists.txt
-
- 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 2 commits
-
-
Henry Schreiner authored
-
Henry Schreiner authored
fix: include PYTHON_IS_DEBUG
-
- 26 Apr, 2020 1 commit
-
-
Axel Huebl authored
This variable is a CMake community standard to set the C++ standard of a build. Document it in favor of the previous variable, which stays as a legacy flag for existing projects. https://cmake.org/cmake/help/v3.17/variable/CMAKE_CXX_STANDARD.html
-
- 11 Jun, 2019 1 commit
-
-
Lori A. Burns authored
-
- 16 Jul, 2017 1 commit
-
-
Jason Rhinelander authored
Currently select_cxx_standard(), which sets PYBIND11_CPP_STANDARD when not externally set, is only called from pybind11_add_module(), but the embed target setup (which runs unconditionally) makes use of ${PYBIND11_CPP_STANDARD}, which isn't set yet. This commit removes the `select_cxx_standard` function completely and just always runs the standard detection code. This also tweaks the detection code to not bothering checking for the `-std=c++11` flag when the `-std=c++14` detection succeeded.
-
- 28 May, 2017 1 commit
-
-
Dean Moldovan authored
All targets provided by pybind11: * pybind11::module - the existing target for creating extension modules * pybind11::embed - new target for embedding the interpreter * pybind11::pybind11 - common "base" target (headers only)
-
- 13 Jan, 2017 1 commit
-
-
Lori A. Burns authored
-
- 19 Dec, 2016 1 commit
-
-
Dean Moldovan authored
Makes room for an eventual pybind11::embedded target.
-
- 13 Dec, 2016 1 commit
-
-
Lori A. Burns authored
-