def _enable_libraries(libraries):
 library_dirs = []
 library_pattern = os.path.join(os.path.dirname(os.path.dirname(google.__file__)), _THIRD_PARTY_LIBRARY_FORMAT_STRING)
 for library in libraries:
  library_dir = os.path.abspath((library_pattern % {'name': library.name, 'version': library.version}))
  library_dirs.append(library_dir)
 return library_dirs

def _enable_libraries ( libraries ) : library_dirs = [ ] library_pattern = os . path . join ( os . path . dirname ( os . path . dirname ( google . __file__ ) ) , _THIRD_PARTY_LIBRARY_FORMAT_STRING ) for library in libraries : library_dir = os . path . abspath ( ( library_pattern % { 'name' : library . name , 'version' : library . version } ) ) library_dirs . append ( library_dir ) return library_dirs
add enabled libraries to the path .