enable Blender addon with Python
To enable a Blender add-on with Python, use
Don’t use this outdated code
Since this will fail if the addon folder didn’t exist on Blender start up.
It also uses operators which can cause issues when run from Qt.