equal
deleted
inserted
replaced
1 #!/usr/bin/env python |
1 #!/usr/bin/env python |
2 |
2 # |
3 # This is the mercurial setup script. |
3 # This is the mercurial setup script. |
4 # |
4 # |
5 # './setup.py install', or |
5 # './setup.py install', or |
6 # './setup.py --help' for more options |
6 # './setup.py --help' for more options |
7 |
7 |
8 import glob |
8 import glob |
33 ext_modules=[Extension('mercurial.mpatch', ['mercurial/mpatch.c']), |
33 ext_modules=[Extension('mercurial.mpatch', ['mercurial/mpatch.c']), |
34 Extension('mercurial.bdiff', ['mercurial/bdiff.c'])], |
34 Extension('mercurial.bdiff', ['mercurial/bdiff.c'])], |
35 data_files=[('mercurial/templates', |
35 data_files=[('mercurial/templates', |
36 ['templates/map'] + |
36 ['templates/map'] + |
37 glob.glob('templates/map-*') + |
37 glob.glob('templates/map-*') + |
38 glob.glob('templates/*.tmpl'))], |
38 glob.glob('templates/*.tmpl'))], |
39 cmdclass = { 'install_data' : install_package_data }, |
39 cmdclass = { 'install_data' : install_package_data }, |
40 scripts=['hg', 'hgmerge']) |
40 scripts=['hg', 'hgmerge']) |
41 finally: |
41 finally: |
42 mercurial.version.forget_version() |
42 mercurial.version.forget_version() |