From 15be8b730c16f565ea6b01209c78dc37d2cb9250 Mon Sep 17 00:00:00 2001 From: Matti Picus Date: Wed, 29 Dec 2021 10:34:27 +0200 Subject: [PATCH] virtualenv fails when window's dll is libpypy3.9-c.exe revert this when https://github.com/pypa/virtualenv/issues/2260 is resolved --- pypy/goal/targetpypystandalone.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pypy/goal/targetpypystandalone.py b/pypy/goal/targetpypystandalone.py index a6128b3a56b..23c64798b8e 100644 --- a/pypy/goal/targetpypystandalone.py +++ b/pypy/goal/targetpypystandalone.py @@ -269,7 +269,10 @@ def get_additional_config_options(self): return pypy_optiondescription def target(self, driver, args): - driver.exe_name = 'pypy%d.%d-%%(backend)s' % CPYTHON_VERSION[:2] + if sys.platform == 'win32': + driver.exe_name = 'pypy3-%(backend)s' + else: + driver.exe_name = 'pypy%d.%d-%%(backend)s' % CPYTHON_VERSION[:2] config = driver.config parser = self.opt_parser(config)