python: Insert gem5's m5 importer at the front of sys.meta_path.
This is equivalent to putting a path first in $PATH, ie it will make
sure that m5.foo resolves to gem5's internal m5 package, and not
whatever directory named m5 happens to be nearby.
Reviewed-by: Gabe Black <email@example.com>
Maintainer: Gabe Black <firstname.lastname@example.org>
Tested-by: kokoro <email@example.com>
1 file changed