Skip to content
Snippets Groups Projects
Commit 2eec996f authored by Matt Mackall's avatar Matt Mackall
Browse files

Fix demandload bits of setup.py py2exe support

parent a0b18a8e
No related branches found
No related tags found
No related merge requests found
......@@ -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'])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment