From b0f20da893b07c2664d9e2dcd462f9de51463e05 Mon Sep 17 00:00:00 2001 From: Holger Rapp Date: Thu, 15 Oct 2009 09:29:00 +0200 Subject: [PATCH] Fixed shutil.cp -> shutil.copy; the former doesn't exist on python2.6 --- scikits/image/opencv/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scikits/image/opencv/setup.py b/scikits/image/opencv/setup.py index 7b97c9f8..06748542 100644 --- a/scikits/image/opencv/setup.py +++ b/scikits/image/opencv/setup.py @@ -64,7 +64,7 @@ def configuration(parent_package='', top_path=None): # if the generated .c file differs from the one provided, # use that one instead if not same_cython(c_file_new, c_file): - shutil.cp(c_file_new, c_file) + shutil.copy(c_file_new, c_file) except ImportError: # if cython is not found, we just build from the included .c files