Mercurial > hg > mercurial-crew-with-dirclash
comparison setup.py @ 1686:dd5085897010
make stuff for macos x binary package.
it is now easy to make prebuilt binary for macos x. i have no hosting
space. i hope someone else can make binaries.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Fri, 03 Feb 2006 00:50:28 -0800 |
parents | 18f3224da392 |
children | 43d3db1b8296 |
comparison
equal
deleted
inserted
replaced
1667:daff3ef0de8d | 1686:dd5085897010 |
---|---|
74 cmdclass = {'install_data': install_package_data} | 74 cmdclass = {'install_data': install_package_data} |
75 py2exe_opts = {} | 75 py2exe_opts = {} |
76 if py2exe_for_demandload is not None: | 76 if py2exe_for_demandload is not None: |
77 cmdclass['py2exe'] = py2exe_for_demandload | 77 cmdclass['py2exe'] = py2exe_for_demandload |
78 py2exe_opts['console'] = ['hg'] | 78 py2exe_opts['console'] = ['hg'] |
79 setup(name='mercurial', | 79 setup(name='Mercurial', |
80 version=mercurial.version.get_version(), | 80 version=mercurial.version.get_version(), |
81 author='Matt Mackall', | 81 author='Matt Mackall', |
82 author_email='mpm@selenic.com', | 82 author_email='mpm@selenic.com', |
83 url='http://selenic.com/mercurial', | 83 url='http://selenic.com/mercurial', |
84 description='scalable distributed SCM', | 84 description='Scalable distributed SCM', |
85 license='GNU GPL', | 85 license='GNU GPL', |
86 packages=['mercurial', 'hgext'], | 86 packages=['mercurial', 'hgext'], |
87 ext_modules=[Extension('mercurial.mpatch', ['mercurial/mpatch.c']), | 87 ext_modules=[Extension('mercurial.mpatch', ['mercurial/mpatch.c']), |
88 Extension('mercurial.bdiff', ['mercurial/bdiff.c'])], | 88 Extension('mercurial.bdiff', ['mercurial/bdiff.c'])], |
89 data_files=[('mercurial/templates', | 89 data_files=[('mercurial/templates', |
90 ['templates/map'] + | 90 ['templates/map'] + |
91 glob.glob('templates/map-*') + | 91 glob.glob('templates/map-*') + |
92 glob.glob('templates/*.tmpl'))], | 92 glob.glob('templates/*.tmpl'))], |
93 cmdclass=cmdclass, | 93 cmdclass=cmdclass, |
94 scripts=['hg', 'hgmerge'], | 94 scripts=['hg', 'hgmerge'], |
95 options=dict(bdist_mpkg=dict(zipdist=True, | |
96 license='COPYING', | |
97 readme='contrib/macosx/Readme.html', | |
98 welcome='contrib/macosx/Welcome.html')), | |
95 **py2exe_opts) | 99 **py2exe_opts) |
96 finally: | 100 finally: |
97 mercurial.version.forget_version() | 101 mercurial.version.forget_version() |