Skip to content

Commit

Permalink
Fix #194 - Symlink some additional modules under Python 3.
Browse files Browse the repository at this point in the history
  • Loading branch information
carljm committed Aug 10, 2012
1 parent 0e19d31 commit 72dbd8b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
3 changes: 3 additions & 0 deletions docs/news.txt
Expand Up @@ -18,6 +18,9 @@ Changes & News
master (unreleased)
~~~~~~~~~~~~~~~~~~~

* Symlink some additional modules under Python 3. Fixes #194. Thanks Vinay
Sajip, Ian Clelland, and Stefan Holek for the report.

* Fix ``--relocatable`` when a script uses ``__future__`` imports. Thanks
Branden Rolston.

Expand Down
12 changes: 7 additions & 5 deletions virtualenv.py
Expand Up @@ -94,7 +94,9 @@
REQUIRED_MODULES.extend(['_abcoll', 'warnings', 'linecache', 'abc', 'io',
'_weakrefset', 'copyreg', 'tempfile', 'random',
'__future__', 'collections', 'keyword', 'tarfile',
'shutil', 'struct', 'copy'])
'shutil', 'struct', 'copy', 'tokenize', 'token',
'functools', 'heapq', 'bisect', 'weakref',
'reprlib'])
if minver >= 2:
REQUIRED_FILES[-1] = 'config-%s' % majver
if minver == 3:
Expand All @@ -111,7 +113,7 @@
"base64",
#"bdb",
#"binhex",
"bisect",
#"bisect",
#"calendar",
#"cgi",
#"cgitb",
Expand Down Expand Up @@ -151,7 +153,7 @@
#"glob",
#"gzip",
"hashlib",
"heapq",
#"heapq",
"hmac",
#"html",
#"http",
Expand Down Expand Up @@ -198,7 +200,7 @@
#"_pyio",
#"queue",
#"quopri",
"reprlib",
#"reprlib",
"rlcompleter",
#"runpy",
#"sched",
Expand Down Expand Up @@ -240,7 +242,7 @@
#"uuid",
#"uu",
#"wave",
"weakref",
#"weakref",
#"webbrowser",
#"wsgiref",
#"xdrlib",
Expand Down

0 comments on commit 72dbd8b

Please sign in to comment.