Mercurial > hg-stable
changeset 5623:f22708f50213
win32: do not install bash hgmerge on Windows
author | Steve Borho <steve@borho.org> |
---|---|
date | Fri, 07 Dec 2007 18:15:24 -0600 |
parents | ea2625655baf |
children | 3da5ff2a9b11 |
files | setup.py |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py Fri Dec 07 18:14:16 2007 -0600 +++ b/setup.py Fri Dec 07 18:15:24 2007 -0600 @@ -40,6 +40,11 @@ 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 @@ [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',