Skip to content

Commit

Permalink
Merge pull request pypa#478 from pnasrat/python34-fix
Browse files Browse the repository at this point in the history
Fix missing module for python 3.4
  • Loading branch information
pnasrat committed Oct 8, 2013
2 parents 6c42aac + 8ce3fcf commit 3a8cdb8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion virtualenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def get_installed_pythons():
'reprlib'])
if minver >= 2:
REQUIRED_FILES[-1] = 'config-%s' % majver
if minver == 3:
if minver >= 3:
import sysconfig
platdir = sysconfig.get_config_var('PLATDIR')
REQUIRED_FILES.append(platdir)
Expand Down Expand Up @@ -285,6 +285,8 @@ def get_installed_pythons():
#"xmlrpc",
#"zipfile",
])
if minver >= 4:
REQUIRED_MODULES.extend(['operator'])

if is_pypy:
# these are needed to correctly display the exceptions that may happen
Expand Down

0 comments on commit 3a8cdb8

Please sign in to comment.