import bpy from .preferences import GB_Prefs classes = ( GB_Prefs, ) def register_preferences(): from bpy.utils import register_class for cls in classes: register_class(cls) def unregister_preferences(): from bpy.utils import unregister_class for cls in classes: unregister_class(cls)