# HG changeset patch # User Matt Mackall # Date 1166149405 21600 # Node ID 2eec996f2fb99d5948badaf9bcf2ac9f5394daac # Parent a0b18a8e046063f6fbd1adc5f13f665123c4705c Fix demandload bits of setup.py py2exe support diff -r a0b18a8e0460 -r 2eec996f2fb9 setup.py --- a/setup.py Thu Dec 14 17:32:25 2006 -0600 +++ b/setup.py Thu Dec 14 20:23:25 2006 -0600 @@ -34,8 +34,7 @@ pass except ImportError: - py2exe_for_demandload = None - + pass # specify version string, otherwise 'hg identify' will be used: version = '' @@ -48,10 +47,6 @@ 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(), @@ -73,4 +68,4 @@ license='COPYING', readme='contrib/macosx/Readme.html', welcome='contrib/macosx/Welcome.html')), - **py2exe_opts) + console=['hg'])