Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 612 Bytes

File metadata and controls

28 lines (20 loc) · 612 Bytes

Example with external sources

Example where the C++ code is fetched in source() from an external repo (libhello).

Build and Install

# From the repo root, install the backend first
pip install -e .

# Then build the example
cd examples/external-sources
pip wheel . --no-build-isolation -w dist/ -vvv

# Or install directly
pip install . --no-build-isolation -vvv

Test the wheel

pip install dist/hello_bindings-*.whl
python -c "import hello_bindings; hello_bindings.hello()"

# Uninstall when done
pip uninstall hello-bindings -y