Show More
@@ -34,8 +34,7 b' try:' | |||||
34 | pass |
|
34 | pass | |
35 |
|
35 | |||
36 | except ImportError: |
|
36 | except ImportError: | |
37 | py2exe_for_demandload = None |
|
37 | pass | |
38 |
|
||||
39 |
|
38 | |||
40 | # specify version string, otherwise 'hg identify' will be used: |
|
39 | # specify version string, otherwise 'hg identify' will be used: | |
41 | version = '' |
|
40 | version = '' | |
@@ -48,10 +47,6 b' class install_package_data(install_data)' | |||||
48 |
|
47 | |||
49 | mercurial.version.remember_version(version) |
|
48 | mercurial.version.remember_version(version) | |
50 | cmdclass = {'install_data': install_package_data} |
|
49 | cmdclass = {'install_data': install_package_data} | |
51 | py2exe_opts = {} |
|
|||
52 | if py2exe_for_demandload is not None: |
|
|||
53 | cmdclass['py2exe'] = py2exe_for_demandload |
|
|||
54 | py2exe_opts['console'] = ['hg'] |
|
|||
55 |
|
50 | |||
56 | setup(name='mercurial', |
|
51 | setup(name='mercurial', | |
57 | version=mercurial.version.get_version(), |
|
52 | version=mercurial.version.get_version(), | |
@@ -73,4 +68,4 b" setup(name='mercurial'," | |||||
73 | license='COPYING', |
|
68 | license='COPYING', | |
74 | readme='contrib/macosx/Readme.html', |
|
69 | readme='contrib/macosx/Readme.html', | |
75 | welcome='contrib/macosx/Welcome.html')), |
|
70 | welcome='contrib/macosx/Welcome.html')), | |
76 | **py2exe_opts) |
|
71 | console=['hg']) |
General Comments 0
You need to be logged in to leave comments.
Login now