def generate_dependency_paths(name):
 packages_dir = os.path.join(st_dir, u'Packages')
 dependency_dir = os.path.join(packages_dir, name)
 ver = (u'st%s' % st_version)
 plat = sublime.platform()
 arch = sublime.arch()
 return {'all': os.path.join(dependency_dir, 'all'), 'ver': os.path.join(dependency_dir, ver), 'plat': os.path.join(dependency_dir, (u'%s_%s' % (ver, plat))), 'arch': os.path.join(dependency_dir, (u'%s_%s_%s' % (ver, plat, arch)))}

def generate_dependency_paths ( name ) : packages_dir = os . path . join ( st_dir , u'Packages' ) dependency_dir = os . path . join ( packages_dir , name ) ver = ( u'st%s' % st_version ) plat = sublime . platform ( ) arch = sublime . arch ( ) return { 'all' : os . path . join ( dependency_dir , 'all' ) , 'ver' : os . path . join ( dependency_dir , ver ) , 'plat' : os . path . join ( dependency_dir , ( u'%s_%s' % ( ver , plat ) ) ) , 'arch' : os . path . join ( dependency_dir , ( u'%s_%s_%s' % ( ver , plat , arch ) ) ) }
accepts a dependency name and generates a dict containing the three standard import paths that are valid for the current machine .