python_example icon indicating copy to clipboard operation
python_example copied to clipboard

Example pybind11 module built with a Python-based build system

Results 27 python_example issues
Sort by recently updated
recently updated
newest added

Hello all, I'm getting the attached errors when I run `conda build`. # Demo ```bash conda create -n bug_report python=3.8 conda activate bug_report git clone https://github.com/pybind/python_example.git cd python_example/conda.recipe conda build...

Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.8.1 to 2.9.0. Release notes Sourced from pypa/cibuildwheel's releases. v2.9.0 🌟 CPython 3.11 wheels are now built by default - without the CIBW_PRERELEASE_PYTHONS flag. It's time to...

dependencies

This likely seems to be an issue on my end, but I haven't been able to figure this out, so hopefully someone on here has an idea. Here's the error...

Hi, I am trying to build python package with a reference eigen but I get following error that it is not possible to find eigen: ![144604159-33846043-bbe3-42a6-afcd-7ff96e3571b9](https://user-images.githubusercontent.com/18013985/144705981-43129fbb-3a83-4994-ba56-6db7513d11b7.png) How setuptools knows where...

If I have a module built with pybind as sub-module how would my already constructed setup.py incorporate this? For example, my package is structured like this. ``` \--package_home setup.py \--base_package...

What about the pygrep hooks for the RST files we added recently. Those seem quite useful. _Originally posted by @Skylion007 in https://github.com/pybind/python_example/pull/91#discussion_r735749701_

when i do: "_pip install kivy_": _Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ip89re86/kivy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-mwsoti_q-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1...

I tried to run setup.py with MinGW instead of Visual Studio MSVC `python setup.py build --compiler=mingw32` I get the following error: `ValueError: Unknown MS Compiler version 1916` Is there any...

I have an virtual environment created using virtualenvwrapper that has issues with returning the appropriate path for the include directory for pybind11.get_include(). I just get 'include'. What can I do...

I'm getting this error trying to use a C++ module that calls a third-party library to return a boolean value. If I simply return true all works well. But when...