summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Jacob <me@manueljacob.de>2016-05-11 20:38:01 +0200
committerManuel Jacob <me@manueljacob.de>2016-05-11 20:38:01 +0200
commit4489d8b3591c4ca0f97f5a99cf7080d39d77c12d (patch)
tree55461adca52a7e8fa07f18e8097dd3d58b271d1f
parent411debc66c3650e68fd6404e1ab4fe0e2d21a063 (diff)
downloadvirtualenv-4489d8b3591c4ca0f97f5a99cf7080d39d77c12d.tar.gz
Add _functools to REQUIRED_MODULES for PyPy3.
-rwxr-xr-xvirtualenv.py5
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):