Show More
@@ -72,8 +72,10 b' class install_package_data(install_data)' | |||||
72 | try: |
|
72 | try: | |
73 | mercurial.version.remember_version(version) |
|
73 | mercurial.version.remember_version(version) | |
74 | cmdclass = {'install_data': install_package_data} |
|
74 | cmdclass = {'install_data': install_package_data} | |
|
75 | py2exe_opts = {} | |||
75 | if py2exe_for_demandload is not None: |
|
76 | if py2exe_for_demandload is not None: | |
76 | cmdclass['py2exe'] = py2exe_for_demandload |
|
77 | cmdclass['py2exe'] = py2exe_for_demandload | |
|
78 | py2exe_opts['console'] = 'hg' | |||
77 | setup(name='mercurial', |
|
79 | setup(name='mercurial', | |
78 | version=mercurial.version.get_version(), |
|
80 | version=mercurial.version.get_version(), | |
79 | author='Matt Mackall', |
|
81 | author='Matt Mackall', | |
@@ -90,6 +92,6 b' try:' | |||||
90 | glob.glob('templates/*.tmpl'))], |
|
92 | glob.glob('templates/*.tmpl'))], | |
91 | cmdclass=cmdclass, |
|
93 | cmdclass=cmdclass, | |
92 | scripts=['hg', 'hgmerge'], |
|
94 | scripts=['hg', 'hgmerge'], | |
93 | console = ['hg']) |
|
95 | **py2exe_opts) | |
94 | finally: |
|
96 | finally: | |
95 | mercurial.version.forget_version() |
|
97 | mercurial.version.forget_version() |
General Comments 0
You need to be logged in to leave comments.
Login now