python: Add a mechanism for installing pybind modules.

pybind provides a mechanism for this already, but it assumes that
because it works through static initializers, it must run before the
python interpreter has started. That is not true when gem5 is built as a
library, since its static intitializers won't run until that library is

Change-Id: I6f36c5f3831dda893039b4923902e9ce46a91808
Maintainer: Bobby Bruce <>
Tested-by: kokoro <>
Reviewed-by: Bobby Bruce <>
1 file changed