diff options
author | Philip Jenvey <pjenvey@underboss.org> | 2016-05-11 14:59:06 -0700 |
---|---|---|
committer | Philip Jenvey <pjenvey@underboss.org> | 2016-05-11 14:59:06 -0700 |
commit | 97ba9816ecee2ae25944fdbc5c1829d55546ede6 (patch) | |
tree | 55461adca52a7e8fa07f18e8097dd3d58b271d1f | |
parent | 411debc66c3650e68fd6404e1ab4fe0e2d21a063 (diff) | |
parent | 4489d8b3591c4ca0f97f5a99cf7080d39d77c12d (diff) | |
download | virtualenv-develop.tar.gz |
Merge pull request #898 from manueljacob/developdevelop
Add _functools to REQUIRED_MODULES for PyPy3.
-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): |