[pypy-svn] pypy default: (hpk, antocuni) make virtualenv a bit more happy. This is really a hack (see

antocuni commits-noreply at bitbucket.org
Thu Jan 20 14:57:39 CET 2011


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: 
Changeset: r41028:c0479a26db3e
Date: 2011-01-20 12:19 +0100
http://bitbucket.org/pypy/pypy/changeset/c0479a26db3e/

Log:	(hpk, antocuni) make virtualenv a bit more happy. This is really a
	hack (see the comment), probably the long-term solution is to get
	rid of the 2.7.0 vs modified-2.7.0 thing

diff --git a/lib-python/2.7.0/UserDict.py b/lib-python/modified-2.7.0/UserDict.py
copy from lib-python/2.7.0/UserDict.py
copy to lib-python/modified-2.7.0/UserDict.py
--- a/lib-python/2.7.0/UserDict.py
+++ b/lib-python/modified-2.7.0/UserDict.py
@@ -1,5 +1,10 @@
 """A more or less complete user-defined wrapper around dictionary objects."""
 
+# XXX This is a bit of a hack (as usual :-))
+# the actual content of the file is not changed, but we put it here to make
+# virtualenv happy (because its internal logic expects at least one of the
+# REQUIRED_MODULES to be in modified-*)
+
 class UserDict:
     def __init__(self, dict=None, **kwargs):
         self.data = {}


More information about the Pypy-commit mailing list