summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Jenvey <pjenvey@underboss.org>2016-05-11 14:59:06 -0700
committerPhilip Jenvey <pjenvey@underboss.org>2016-05-11 14:59:06 -0700
commit97ba9816ecee2ae25944fdbc5c1829d55546ede6 (patch)
tree55461adca52a7e8fa07f18e8097dd3d58b271d1f
parent411debc66c3650e68fd6404e1ab4fe0e2d21a063 (diff)
parent4489d8b3591c4ca0f97f5a99cf7080d39d77c12d (diff)
downloadvirtualenv-develop.tar.gz
Merge pull request #898 from manueljacob/developdevelop
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):