--- a/setup.py Mon Oct 02 17:59:39 2006 -0700
+++ b/setup.py Tue Oct 03 11:30:59 2006 +0200
@@ -55,9 +55,9 @@
self.includes = []
else:
self.includes = self.includes.split(',')
- mercurial.packagescan.scan(self.build_lib,'mercurial')
- mercurial.packagescan.scan(self.build_lib,'mercurial.hgweb')
- mercurial.packagescan.scan(self.build_lib,'hgext')
+ mercurial.packagescan.scan(self.build_lib, 'mercurial')
+ mercurial.packagescan.scan(self.build_lib, 'mercurial.hgweb')
+ mercurial.packagescan.scan(self.build_lib, 'hgext')
self.includes += mercurial.packagescan.getmodules()
build_exe.finalize_options(self)
except ImportError:
@@ -79,26 +79,28 @@
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',
- author_email='mpm@selenic.com',
- url='http://selenic.com/mercurial',
- description='Scalable distributed SCM',
- license='GNU GPL',
- packages=['mercurial', 'mercurial.hgweb', 'hgext'],
- ext_modules=[Extension('mercurial.mpatch', ['mercurial/mpatch.c']),
- Extension('mercurial.bdiff', ['mercurial/bdiff.c'])],
- data_files=[('mercurial/templates',
- ['templates/map'] +
- glob.glob('templates/map-*') +
- glob.glob('templates/*.tmpl')),
- ('mercurial/templates/static',
- glob.glob('templates/static/*'))],
- cmdclass=cmdclass,
- scripts=['hg', 'hgmerge'],
- options=dict(bdist_mpkg=dict(zipdist=True,
- license='COPYING',
- readme='contrib/macosx/Readme.html',
- welcome='contrib/macosx/Welcome.html')),
- **py2exe_opts)
+ version=mercurial.version.get_version(),
+ author='Matt Mackall',
+ author_email='mpm@selenic.com',
+ url='http://selenic.com/mercurial',
+ description='Scalable distributed SCM',
+ license='GNU GPL',
+ packages=['mercurial', 'mercurial.hgweb', 'hgext'],
+ ext_modules=[Extension('mercurial.mpatch', ['mercurial/mpatch.c']),
+ Extension('mercurial.bdiff', ['mercurial/bdiff.c'])],
+ data_files=[
+ ('mercurial/templates',
+ ['templates/map'] +
+ glob.glob('templates/map-*') +
+ glob.glob('templates/*.tmpl')),
+ ('mercurial/templates/static', glob.glob('templates/static/*')),
+ ],
+ cmdclass=cmdclass,
+ scripts=['hg', 'hgmerge'],
+ options=dict(bdist_mpkg=dict(zipdist=True,
+ license='COPYING',
+ readme='contrib/macosx/Readme.html',
+ welcome='contrib/macosx/Welcome.html')),
+ **py2exe_opts)