author | Matt Mackall <mpm@selenic.com> |
Fri, 15 Dec 2006 01:17:04 -0600 | |
changeset 3893 | 070628929e1f |
parent 3892 | d6cc510dfe5e |
child 3894 | f47afa2401a2 |
--- a/setup.py Thu Dec 14 20:31:33 2006 -0600 +++ b/setup.py Fri Dec 15 01:17:04 2006 -0600 @@ -17,6 +17,8 @@ import mercurial.demandimport mercurial.demandimport.enable = lambda: None +extra = {} + # py2exe needs to be installed to work try: import py2exe @@ -35,6 +37,8 @@ except ImportError: pass + extra['console'] = ['hg'] + except ImportError: pass @@ -70,4 +74,4 @@ license='COPYING', readme='contrib/macosx/Readme.html', welcome='contrib/macosx/Welcome.html')), - console=['hg']) + **extra)