Skip to content

JoelBender/pybind_python_example

 
 

Repository files navigation

pybind_python_example

This is a fork of the python_example project. It includes scripts to use Docker for building the extension and extracting the resulting wheel which can then be installed in other docker images that are built from python:3.10.

example-build.sh

This is a combination of a docker build which runs through the build process to create the wheel, the a docker run which copies the wheel into the export/ directory.

example-app-build.sh

A simple docker build command to create the example-app image.

The Dockerfile assumes that the wheel to be installed is in the export/ directory created in the previous step.

example-app-run.sh

A simple docker run command to run an application built in the previous step.

About

Example pybind11 module built with a Python-based build system using docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 45.7%
  • C++ 26.3%
  • Shell 17.8%
  • Dockerfile 10.2%