[pypy-svn] r59171 - pypy/branch/oo-jit/pypy/translator/cli

antocuni at codespeak.net antocuni at codespeak.net
Fri Oct 17 14:21:21 CEST 2008


Author: antocuni
Date: Fri Oct 17 14:21:20 2008
New Revision: 59171

Modified:
   pypy/branch/oo-jit/pypy/translator/cli/rte.py
Log:
copy pypylib.dll to the dir where the program is executed



Modified: pypy/branch/oo-jit/pypy/translator/cli/rte.py
==============================================================================
--- pypy/branch/oo-jit/pypy/translator/cli/rte.py	(original)
+++ pypy/branch/oo-jit/pypy/translator/cli/rte.py	Fri Oct 17 14:21:20 2008
@@ -2,7 +2,6 @@
 Support for an automatically compiled Run Time Environment.
 The source of the RTE is in the src/ directory.
 """
-
 import os
 import os.path
 import shutil
@@ -123,4 +122,6 @@
         cache.remove()
 
 if __name__ == '__main__':
-    get_pypy_dll()
+    import shutil
+    pypylib = get_pypy_dll()
+    shutil.copy(pypylib, '.')



More information about the Pypy-commit mailing list