initialize developer tools via builtins; add test

This commit is contained in:
The MMGen Project 2022-10-20 18:14:15 +00:00
commit 9a1ea34309
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
17 changed files with 361 additions and 166 deletions

View file

@ -111,6 +111,9 @@ exec_wrapper_init() # sets sys.path[0], runs overlay_setup()
exec_wrapper_tstart = time.time()
exec_wrapper_tracemalloc_setup()
from mmgen.devinit import init_dev # import mmgen mods only after overlay setup!
init_dev()
try:
sys.argv.pop(0)
exec_wrapper_execed_file = sys.argv[0]