Author: Armin Rigo <[email protected]>
Branch:
Changeset: r68765:af2e2754fb20
Date: 2014-01-19 18:03 +0100
http://bitbucket.org/pypy/pypy/changeset/af2e2754fb20/
Log: Bah, thanks mjacob for spotting that 7812ad72a634 doesn't have any
effect.
diff --git a/rpython/translator/driver.py b/rpython/translator/driver.py
--- a/rpython/translator/driver.py
+++ b/rpython/translator/driver.py
@@ -460,7 +460,7 @@
targetdir = cbuilder.targetdir
fname = dump_static_data_info(self.log, database, targetdir)
dstname = self.compute_exe_name() + '.staticdata.info'
- shutil.copy(str(fname), str(dstname))
+ shutil_copy(str(fname), str(dstname))
self.log.info('Static data info written to %s' % dstname)
def compute_exe_name(self):
@@ -476,11 +476,11 @@
if self.exe_name is not None:
exename = self.c_entryp
newexename = mkexename(self.compute_exe_name())
- shutil.copy(str(exename), str(newexename))
+ shutil_copy(str(exename), str(newexename))
if self.cbuilder.shared_library_name is not None:
soname = self.cbuilder.shared_library_name
newsoname = newexename.new(basename=soname.basename)
- shutil.copy(str(soname), str(newsoname))
+ shutil_copy(str(soname), str(newsoname))
self.log.info("copied: %s" % (newsoname,))
if sys.platform == 'win32':
# the import library is named python27.lib, according
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit