[pypy-commit] pypy default: (larstiq) Tell virtualenv to copy libpypy-c.dylib as well.
amauryfa
noreply at buildbot.pypy.org
Wed Dec 31 16:40:15 CET 2014
Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch:
Changeset: r75191:3fcbbd6f6e29
Date: 2014-12-31 16:39 +0100
http://bitbucket.org/pypy/pypy/changeset/3fcbbd6f6e29/
Log: (larstiq) Tell virtualenv to copy libpypy-c.dylib as well.
diff --git a/lib-python/2.7/subprocess.py b/lib-python/2.7/subprocess.py
--- a/lib-python/2.7/subprocess.py
+++ b/lib-python/2.7/subprocess.py
@@ -1589,7 +1589,7 @@
'copyfile' in caller.f_globals):
dest_dir = sys.pypy_resolvedirof(target_executable)
src_dir = sys.pypy_resolvedirof(sys.executable)
- for libname in ['libpypy-c.so']:
+ for libname in ['libpypy-c.so', 'libpypy-c.dylib']:
dest_library = os.path.join(dest_dir, libname)
src_library = os.path.join(src_dir, libname)
if os.path.exists(src_library):
More information about the pypy-commit
mailing list