def pluginPackagePaths(name):
 package = name.split('.')
 return [os.path.abspath(os.path.join(x, *package)) for x in sys.path if (not os.path.exists(os.path.join(x, *(package + ['__init__.py']))))]

def pluginPackagePaths ( name ) : package = name . split ( '.' ) return [ os . path . abspath ( os . path . join ( x , * package ) ) for x in sys . path if ( not os . path . exists ( os . path . join ( x , * ( package + [ '__init__.py' ] ) ) ) ) ]
return a list of additional directories which should be searched for modules to be included as part of the named plugin package .