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