Mercurial > hg
changeset 3238:3dba9ec89164
Applied coding style to setup.py
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 03 Oct 2006 11:30:59 +0200 |
parents | f7a8228fde17 |
children | 7a3edd3f7c3e |
files | setup.py |
diffstat | 1 files changed, 27 insertions(+), 25 deletions(-) [+] |
line wrap: on
line diff
--- 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)