All pastes #507673 Raw Edit

Diff

public text v1 · immutable
·published 2007-05-24 18:01 UTC
rendered paste body
Index: Scripting.py===================================================================--- Scripting.py	(revision 1396)+++ Scripting.py	(working copy)@@ -302,6 +302,15 @@ 				os.remove(os.path.join(root, f)) 				to_remove = False +	try:+		dist_hook = Utils.g_module.dist_hook+	except AttributeError:+		pass+	else:+		blddir = os.path.join("..", Utils.g_module.blddir)+		srcdir = os.path.join("..", Utils.g_module.srcdir)+		dist_hook(srcdir, blddir)+ 	# go back to the root directory 	os.chdir('..')