Show More
@@ -17,6 +17,8 b' import mercurial.version' | |||||
17 | import mercurial.demandimport |
|
17 | import mercurial.demandimport | |
18 | mercurial.demandimport.enable = lambda: None |
|
18 | mercurial.demandimport.enable = lambda: None | |
19 |
|
19 | |||
|
20 | extra = {} | |||
|
21 | ||||
20 | # py2exe needs to be installed to work |
|
22 | # py2exe needs to be installed to work | |
21 | try: |
|
23 | try: | |
22 | import py2exe |
|
24 | import py2exe | |
@@ -35,6 +37,8 b' try:' | |||||
35 | except ImportError: |
|
37 | except ImportError: | |
36 | pass |
|
38 | pass | |
37 |
|
39 | |||
|
40 | extra['console'] = ['hg'] | |||
|
41 | ||||
38 | except ImportError: |
|
42 | except ImportError: | |
39 | pass |
|
43 | pass | |
40 |
|
44 | |||
@@ -70,4 +74,4 b" setup(name='mercurial'," | |||||
70 | license='COPYING', |
|
74 | license='COPYING', | |
71 | readme='contrib/macosx/Readme.html', |
|
75 | readme='contrib/macosx/Readme.html', | |
72 | welcome='contrib/macosx/Welcome.html')), |
|
76 | welcome='contrib/macosx/Welcome.html')), | |
73 | console=['hg']) |
|
77 | **extra) |
General Comments 0
You need to be logged in to leave comments.
Login now