Show More
@@ -21,6 +21,7 b' from .py2exe import (' | |||
|
21 | 21 | from .util import ( |
|
22 | 22 | find_vc_runtime_files, |
|
23 | 23 | normalize_windows_version, |
|
24 | process_install_rules, | |
|
24 | 25 | read_version_py, |
|
25 | 26 | ) |
|
26 | 27 | |
@@ -31,6 +32,10 b' EXTRA_PACKAGES = {' | |||
|
31 | 32 | 'win32ctypes', |
|
32 | 33 | } |
|
33 | 34 | |
|
35 | EXTRA_INSTALL_RULES = [ | |
|
36 | ('contrib/win32/mercurial.ini', 'defaultrc/mercurial.rc'), | |
|
37 | ] | |
|
38 | ||
|
34 | 39 | PACKAGE_FILES_METADATA = { |
|
35 | 40 | 'ReadMe.html': 'Flags: isreadme', |
|
36 | 41 | } |
@@ -84,6 +89,9 b' def build(' | |||
|
84 | 89 | # Now assemble all the packaged files into the staging directory. |
|
85 | 90 | stage_install(source_dir, staging_dir) |
|
86 | 91 | |
|
92 | # We also install some extra files. | |
|
93 | process_install_rules(EXTRA_INSTALL_RULES, source_dir, staging_dir) | |
|
94 | ||
|
87 | 95 | # hg.exe depends on VC9 runtime DLLs. Copy those into place. |
|
88 | 96 | for f in find_vc_runtime_files(vc_x64): |
|
89 | 97 | if f.name.endswith('.manifest'): |
General Comments 0
You need to be logged in to leave comments.
Login now