"vscode:/vscode.git/clone" did not exist on "1bbaeb3462dcb12ce0b8aeabc56f8dd7a413dbbb"
- 08 Sep, 2021 1 commit
-
-
Thomas Ballinger authored
-
- 13 Jul, 2021 1 commit
-
-
Antony Lee authored
For single-file extensions, a convenient pattern offered by cython is to place the source files directly in the python source tree (`foo/__init__.py`, `foo/ext.pyx`), deriving the package names from their filesystem location. Adapt this pattern for pybind11, using an `intree_extensions` helper, which should be thought of as the moral equivalent to `cythonize`. Differences with cythonize: I chose not to include globbing support (`intree_extensions(glob.glob("**/*.cpp"))` seems sufficient), nor to provide extension-customization kwargs (directly setting the attributes on the resulting Pybind11Extension objects seems sufficient). We could choose to have `intree_extension` (singular instead) and make users write `[*map(intree_extension, glob.glob("**/*.cpp"))]`; no strong opinion here. Co-authored-by:Aaron Gokaslan <skylion.aaron@gmail.com>
-
- 04 Jul, 2021 1 commit
-
-
luzpaz authored
Found via `codespell -q 3 -L nd,ot,thist`
-
- 17 Jun, 2021 1 commit
-
-
Aaron Gokaslan authored
-
- 17 Jan, 2021 1 commit
-
-
Henry Schreiner authored
* docs: update build description slightly * docs: missing ticks
-
- 24 Dec, 2020 1 commit
-
-
Steve Siano authored
* docs: mention PYTHONPATH in installing.rst When pybind11 is included as a submodule, the user needs to update their Python module search path. Otherwise, the first c++ compilation command in docs/basics.rst will fail. * docs: add a note about compiling the example This note shows how to modify the compilation command for the example when the pybind11 source has been included as a Git submodule. * docs: add a note about compiling the example Added an internal link to the docs * docs: updated a note about compiling the example Also updated the command substitution syntax for consistency
-
- 24 Nov, 2020 1 commit
-
-
Yannick Jadoul authored
docs: add warning about FindPython's Development component when libraries don't exist (e.g. on manylinux) (#2689) * Add waring about FindPython's Development component when libraries don't exist (e.g. on manylinux) * Minor wording update (thanks, @henryiii!)
-
- 11 Nov, 2020 1 commit
-
-
Henry Schreiner authored
* feat: lazy compile * refactor: lazy -> only_changed * refactor: leave the changed function up to the user * refactor: pass a function, based on @YannickJadoul and @HDembinski's suggestions * refactor: old -> _old, as it's not intended for users * docs: slight improvmenent from @rwgk * docs: Ccache spelling, extra warning about pip caching Ccache spelling noted by @YannickJadoul
-
- 14 Oct, 2020 1 commit
-
-
Henry Schreiner authored
* fix: ipo should be off for debug or relwithdebinfo Closes #2587 * docs: slightly more detailed about IPO * Update pybind11Common.cmake
-
- 08 Oct, 2020 2 commits
-
-
jbarlow83 authored
-
Henry Schreiner authored
* docs: minor cleanup * ci: fix add-path command * docs: add example of use in-place * Update .github/workflows/ci.yml
-
- 03 Oct, 2020 1 commit
-
-
Henry Schreiner authored
* feat: import check as a common function * docs: add cmake to docs
-
- 02 Oct, 2020 1 commit
-
-
Henry Schreiner authored
-
- 17 Sep, 2020 1 commit
-
-
Henry Schreiner authored
* docs: installing section * docs: feedback from @wjakob
-
- 16 Sep, 2020 2 commits
-
-
Henry Schreiner authored
* feat: setup.py redesign and helpers * refactor: simpler design with two outputs * refactor: helper file update and Windows support * fix: review points from @YannickJadoul * refactor: fixes to naming and more docs * feat: more customization points * feat: add entry point pybind11-config * refactor: Try Extension-focused method * refactor: rename alt/inplace to global * fix: allow usage with git modules, better docs * feat: global as an extra (@YannickJadoul's suggestion) * feat: single version location * fix: remove the requirement that setuptools must be imported first * fix: some review points from @wjacob * fix: use .in, add procedure to docs * refactor: avoid monkeypatch copy * docs: minor typos corrected * fix: minor points from @YannickJadoul * fix: typo on Windows C++ mode * fix: MSVC 15 update 3+ have c++14 flag See <https://docs.microsoft.com/en-us/cpp/build/reference/std-specify-language-standard-version?view=vs-2019> * docs: discuss making SDists by hand * ci: use pep517.build instead of manual setup.py * refactor: more comments from @YannickJadoul * docs: updates from @ktbarrett * fix: change to newly recommended tool instead of pep517.build This was intended as a proof of concept; build seems to be the correct replacement. See https://github.com/pypa/pep517/pull/83 * docs: updates from @wjakob * refactor: dual version locations * docs: typo spotted by @wjakob
-
Griffin Downs authored
* Add vcpkg installation instructions * Casing * Move instructions Co-authored-by:Henry Fredrick Schreiner <henry.fredrick.schreiner@cern.ch>
-
- 06 Sep, 2020 1 commit
-
-
Wenzel Jakob 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
-
- 10 Aug, 2020 1 commit
-
-
Dustin Spicuzza authored
-
- 31 Jul, 2020 3 commits
-
-
Henry Schreiner authored
-
Henry Schreiner authored
-
Henry Schreiner authored
fix: include PYTHON_IS_DEBUG
-
- 26 Apr, 2020 2 commits
-
-
Dustin Spicuzza authored
* Add AutoWIG to list of binding generators
-
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
-
- 10 Jun, 2019 1 commit
-
-
nstelzen authored
* Added note regarding make install
-
- 29 Aug, 2018 1 commit
-
-
Axel Huebl authored
pybind11 headers passed via the `pybind11_add_module` CMake function can now be included as `SYSTEM` includes (`-isystem`). This allows to set stricter (or experimental) warnings in calling projects that might throw otherwise in headers a user of pybind11 can not influence.
-
- 30 Aug, 2017 1 commit
-
-
Ivan Smirnov authored
-
- 17 Aug, 2017 1 commit
-
-
Dean Moldovan authored
* Doxygen needs `RECURSIVE = YES` in order to parse the `detail` subdir. * The `-W` warnings-as-errors option for sphinx doesn't work with the makefile build. Switched to calling sphinx directly. * Fix "citation [cppimport] is not referenced" warning.
-
- 14 Aug, 2017 1 commit
-
-
Jason Rhinelander authored
This updates the compilation to always apply hidden visibility to resolve the issues with default visibility causing problems under debug compilations. Moreover using the cmake property makes it easier for a caller to override if absolutely needed for some reason. For `pybind11_add_module` we use cmake to set the property; for the targets, we append to compilation option to non-MSVC compilers.
-
- 31 May, 2017 1 commit
-
-
Dean Moldovan authored
[skip ci]
-
- 28 May, 2017 1 commit
-
-
Dean Moldovan authored
-
- 09 May, 2017 1 commit
-
-
Jason Rhinelander authored
Under MSVC we were ignoring PYBIND11_CPP_STANDARD and simply not passing any standard (which makes MSVC default to its C++14 mode). MSVC 2015u3 added the `/std:c++14` and `/std:c++latest` flags; the latter, under MSVC 2017, enables some C++17 features (such as `std::optional` and `std::variant`), so it is something we need to start supporting under MSVC. This makes the PYBIND11_CPP_STANDARD cmake variable work under MSVC, defaulting it to /std:c++14 (matching the default -std=c++14 for non-MSVC). It also adds a new appveyor test running under MSVC 2017 with /std:c++latest, which runs (and passes) the `std::optional`/`std::variant` tests. Also updated the documentation to clarify the c++ flags and add show MSVC flag examples.
-
- 26 Dec, 2016 1 commit
-
-
Wenzel Jakob authored
-
- 19 Dec, 2016 2 commits
-
-
Dean Moldovan authored
Makes room for an eventual pybind11::embedded target.
-
Dean Moldovan authored
See the documentation for a description of the options.
-
- 13 Dec, 2016 2 commits
-
-
Lori A. Burns authored
-
Lori A. Burns authored
-
- 06 Sep, 2016 1 commit
-
-
Wenzel Jakob authored
-
- 03 Jun, 2016 2 commits
-
-
Wenzel Jakob authored
-
Wenzel Jakob authored
-