Fixed shutil.cp -> shutil.copy; the former doesn't exist on python2.6

This commit is contained in:
Holger Rapp
2009-10-15 09:29:00 +02:00
parent 464788aded
commit b0f20da893
+1 -1
View File
@@ -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