Mercurial > hg-stable
changeset 1508:b254243b7159
fix a warning when py2exe is not used
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Fri, 04 Nov 2005 11:37:45 -0800 |
parents | cd8fadd8c689 |
children | 46a07392cf28 b582dbc16165 |
files | setup.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py Fri Nov 04 10:24:05 2005 -0800 +++ b/setup.py Fri Nov 04 11:37:45 2005 -0800 @@ -72,8 +72,10 @@ try: mercurial.version.remember_version(version) cmdclass = {'install_data': install_package_data} + py2exe_opts = {} if py2exe_for_demandload is not None: cmdclass['py2exe'] = py2exe_for_demandload + py2exe_opts['console'] = 'hg' setup(name='mercurial', version=mercurial.version.get_version(), author='Matt Mackall', @@ -90,6 +92,6 @@ glob.glob('templates/*.tmpl'))], cmdclass=cmdclass, scripts=['hg', 'hgmerge'], - console = ['hg']) + **py2exe_opts) finally: mercurial.version.forget_version()