Analyzing the module “addon_utils.py” I discovered that this code runs in Blender startup.
import bpy as _bpy
_user_preferences = _bpy.context.user_preferences
path_list = paths()
for path in path_list:
for addon in _user_preferences.addons:
So the order would be the same as this. Am I right?
for addon in bpy.context.user_preferences.addons:
However what I want to do is change this order. Or perform a function as soon as the last module is registered. But I found no handle that does this.
Would it be possible to run an extra function without having to change the module “addon_utils.py”?
[SUB](Maybe putting a return in register function of a addon, I do not know)[/SUB]