# HG changeset patch # User Steve Borho # Date 2007-12-08 00:15:24 # Node ID f22708f50213ae66ab79a4d086c7784295153e16 # Parent ea2625655baf6b2750062e0c6b54b07fd56c6c2b win32: do not install bash hgmerge on Windows diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -40,6 +40,11 @@ try: except ImportError: pass +if os.name in ['nt']: + extra['scripts'] = ['hg'] +else: + extra['scripts'] = ['hg', 'hgmerge'] + # specify version string, otherwise 'hg identify' will be used: version = '' @@ -78,7 +83,6 @@ setup(name='mercurial', [os.path.join(root, file_) for file_ in files]) for root, dirs, files in os.walk('templates')], cmdclass=cmdclass, - scripts=['hg', 'hgmerge'], options=dict(py2exe=dict(packages=['hgext']), bdist_mpkg=dict(zipdist=True, license='COPYING',