def setup():
	global app_paths
	pymodules = []
	for app in frappe.get_all_apps(True):
		try:
			pymodules.append(frappe.get_module(app))
		except __HOLE__: pass
	app_paths = [os.path.dirname(pymodule.__file__) for pymodule in pymodules]
dataset/ETHPy150Open frappe/frappe/frappe/build.py/setup