[pypy-commit] pypy default: Make virtualenv work on Windows too

arigo pypy.commits at gmail.com
Wed Dec 20 01:40:59 EST 2017


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r93504:c1c8d16890dd
Date: 2017-12-20 07:40 +0100
http://bitbucket.org/pypy/pypy/changeset/c1c8d16890dd/

Log:	Make virtualenv work on Windows too

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
@@ -1296,7 +1296,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', 'libpypy-c.dylib']:
+        for libname in ['libpypy-c.so', 'libpypy-c.dylib', 'libpypy-c.dll']:
             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