def get_spyderplugins_mods(io=False):
 user_plugin_path = osp.join(get_conf_path(), USER_PLUGIN_DIR)
 if (not osp.isdir(user_plugin_path)):
  os.makedirs(user_plugin_path)
 (modlist, modnames) = ([], [])
 for plugin_path in ([user_plugin_path] + sys.path):
  _get_spyderplugins(plugin_path, io, modnames, modlist)
 return modlist

def get_spyderplugins_mods ( io = False ) : user_plugin_path = osp . join ( get_conf_path ( ) , USER_PLUGIN_DIR ) if ( not osp . isdir ( user_plugin_path ) ) : os . makedirs ( user_plugin_path ) ( modlist , modnames ) = ( [ ] , [ ] ) for plugin_path in ( [ user_plugin_path ] + sys . path ) : _get_spyderplugins ( plugin_path , io , modnames , modlist ) return modlist
import modules from plugins package and return the list .