def _get_provide_specs_from_apps(category):
 if (category not in _provide_specs):
  provide_list = []
  for app_config in apps.get_app_configs():
   if (not isinstance(app_config, AppConfig)):
    continue
   spec_list = app_config.provides.get(category, ())
   if isinstance(spec_list, six.string_types):
    spec_list = (spec_list,)
   for spec in spec_list:
    if (spec not in provide_list):
     provide_list.append(spec)
  _provide_specs[category] = provide_list
 return _provide_specs[category]

def _get_provide_specs_from_apps ( category ) : if ( category not in _provide_specs ) : provide_list = [ ] for app_config in apps . get_app_configs ( ) : if ( not isinstance ( app_config , AppConfig ) ) : continue spec_list = app_config . provides . get ( category , ( ) ) if isinstance ( spec_list , six . string_types ) : spec_list = ( spec_list , ) for spec in spec_list : if ( spec not in provide_list ) : provide_list . append ( spec ) _provide_specs [ category ] = provide_list return _provide_specs [ category ]
load provide spec strings from installed shuup .