branch | stable |
changeset 10598 | 1037bd445768 |
parent 10263 | 25e572394f5c |
child 10612 | 30553ac3e355 |
--- a/mercurial/demandimport.py Thu Dec 17 15:53:28 2009 -0800 +++ b/mercurial/demandimport.py Wed Jan 20 20:23:36 2010 -0500 @@ -130,6 +130,9 @@ 'resource', # this trips up many extension authors 'gtk', + # setuptools' pkg_resources.py expects "from __main__ import x" to + # raise ImportError if x not defined + '__main__', ] def enable():