I have not tried this patch on a Windows installation. We should make sure that dir_util is available in standard Python distributions.
This change shouldn't break when /war doesn't exist because dir_util.copy_tree should behave exactly like shutil.copytree in that case. In other words, when the destination directory doesn't exist copy_tree will create it first, according to the documentation.
I have not tried this patch on a Windows installation. We should make sure that dir_util is available in standard Python distributions.
This change shouldn't break when /war doesn't exist because dir_util.copy_tree should behave exactly like shutil.copytree in that case. In other words, when the destination directory doesn't exist copy_tree will create it first, according to the documentation.