##// END OF EJS Templates
Applied coding style to setup.py
Thomas Arendsen Hein -
r3238:3dba9ec8 default
parent child Browse files
Show More
@@ -79,6 +79,7 py2exe_opts = {}
79 if py2exe_for_demandload is not None:
79 if py2exe_for_demandload is not None:
80 cmdclass['py2exe'] = py2exe_for_demandload
80 cmdclass['py2exe'] = py2exe_for_demandload
81 py2exe_opts['console'] = ['hg']
81 py2exe_opts['console'] = ['hg']
82
82 setup(name='mercurial',
83 setup(name='mercurial',
83 version=mercurial.version.get_version(),
84 version=mercurial.version.get_version(),
84 author='Matt Mackall',
85 author='Matt Mackall',
@@ -89,12 +90,13 setup(name='mercurial',
89 packages=['mercurial', 'mercurial.hgweb', 'hgext'],
90 packages=['mercurial', 'mercurial.hgweb', 'hgext'],
90 ext_modules=[Extension('mercurial.mpatch', ['mercurial/mpatch.c']),
91 ext_modules=[Extension('mercurial.mpatch', ['mercurial/mpatch.c']),
91 Extension('mercurial.bdiff', ['mercurial/bdiff.c'])],
92 Extension('mercurial.bdiff', ['mercurial/bdiff.c'])],
92 data_files=[('mercurial/templates',
93 data_files=[
94 ('mercurial/templates',
93 ['templates/map'] +
95 ['templates/map'] +
94 glob.glob('templates/map-*') +
96 glob.glob('templates/map-*') +
95 glob.glob('templates/*.tmpl')),
97 glob.glob('templates/*.tmpl')),
96 ('mercurial/templates/static',
98 ('mercurial/templates/static', glob.glob('templates/static/*')),
97 glob.glob('templates/static/*'))],
99 ],
98 cmdclass=cmdclass,
100 cmdclass=cmdclass,
99 scripts=['hg', 'hgmerge'],
101 scripts=['hg', 'hgmerge'],
100 options=dict(bdist_mpkg=dict(zipdist=True,
102 options=dict(bdist_mpkg=dict(zipdist=True,
General Comments 0
You need to be logged in to leave comments. Login now