Home
last modified time | relevance | path

Searched +full:- +full:dpybind11_findpython (Results 1 – 5 of 5) sorted by relevance

/external/python/pybind11/tests/test_cmake_build/
DCMakeLists.txt1 # Built-in in CMake 3.5+
9 set(build_options "-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}")
12 list(APPEND build_options "-DPYBIND11_FINDPYTHON=${PYBIND11_FINDPYTHON}")
15 list(APPEND build_options "-DPython_ROOT_DIR=${Python_ROOT_DIR}")
18 list(APPEND build_options "-DPython_EXECUTABLE=${Python_EXECUTABLE}")
20 list(APPEND build_options "-DPYTHON_EXECUTABLE=${PYTHON_EXECUTABLE}")
24 list(APPEND build_options "-DCMAKE_CXX_STANDARD=${CMAKE_CXX_STANDARD}")
28 list(APPEND build_options "-Dpybind11_SOURCE_DIR=${pybind11_SOURCE_DIR}")
30 list(APPEND build_options "-DCMAKE_PREFIX_PATH=${pybind11_BINARY_DIR}/mock_install")
36 --build-and-test
[all …]
/external/python/pybind11/.github/
DCONTRIBUTING.md12 question, it's essential that you submit a self-contained and minimal piece of
28 * Add tests for any new functionality and run the test suite (`cmake --build
29 build --target pytest`) to ensure that no existing features break.
30 * Please run [`pre-commit`][pre-commit] to check your code matches the
31 project style. (Note that `gawk` is required.) Use `pre-commit run
32 --all-files` before committing (or use installed-mode, check pre-commit docs)
39 pybind11 is provided under a BSD-style license that can be found in the
48 hereby grant the following license: a non-exclusive, royalty-free perpetual
60 python3 -m venv venv
62 pip install -r tests/requirements.txt
[all …]
/external/python/pybind11/.github/workflows/
Dci.yml8 - master
9 - stable
10 - v*
17 fail-fast: false
19 runs-on: [ubuntu-latest, windows-latest, macos-latest]
21 - 2.7
22 - 3.5
23 - 3.6
24 - 3.9
25 # - 3.10-dev # Re-enable once 3.10.0a5 is released
[all …]
/external/python/pybind11/docs/
Dfaq.rst41 .. code-block:: cpp
52 provided by the caller -- in fact, it does nothing at all.
54 .. code-block:: python
59 pybind11 is also affected by such language-level conventions, which means that
70 .. code-block:: cpp
76 .. code-block:: cpp
89 .. code-block:: cpp
103 .. code-block:: cpp
111 .. code-block:: cpp
114 m.def("sub", [](int a, int b) { return a - b; });
[all …]
Dcompiling.rst6 .. _build-setuptools:
24 :ref:`setup_helpers-pep518` (good, but very new and requires Pip 10),
25 :ref:`setup_helpers-setup_requires` (discouraged by Python packagers now that
27 :ref:`setup_helpers-copy-manually` (always works but you have to manually sync
32 .. code-block:: python
54 .. code-block:: python
73 Since pybind11 does not require NumPy when building, a light-weight replacement
76 .. code-block:: python
95 using ``pip install -e .`` and do not have local headers, you can skip the
99 .. code-block:: python
[all …]