diff options
-rwxr-xr-x | virtualenv.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/virtualenv.py b/virtualenv.py index 4608a14..a6e3005 100755 --- a/virtualenv.py +++ b/virtualenv.py @@ -161,6 +161,11 @@ if is_pypy: # during the bootstrap REQUIRED_MODULES.extend(['traceback', 'linecache']) + if majver == 3: + # _functools is needed to import locale during stdio initialization and + # needs to be copied on PyPy because it's not built in + REQUIRED_MODULES.append('_functools') + class Logger(object): |