Lines Matching full:lines
64 lines = [
69 lines.append(' <DirectoryRef Id="{}">'.format(dir_parent))
71 …lines.append(' <Directory Id="{}_{}" Name="{}" />'.format(dir_parent, make_id(dir_name)…
72 lines.append(' </DirectoryRef>')
74 lines.append(' <DirectoryRef Id="{}">'.format(dir_parent))
75 …lines.append(' <Directory Id="{}___pycache__" Name="__pycache__" />'.format(dir_parent))
76 lines.append(' </DirectoryRef>')
77 lines.append(' </Fragment>')
80 lines.extend([
85 …lines.append(' <Component Id="{}" Directory="{}" Guid="*">'.format(make_id(target), mak…
87 lines.append(' <Condition>{}</Condition>'.format(condition))
90 …lines.append(' <File Id="{}" Name="{}" Source="{}" DiskId="{}" />'.format(make_id(t…
92 …lines.append(' <File Id="{}" Name="{}" Source="{}" />'.format(make_id(target), targ…
93 lines.append(' </Component>')
100 …lines.append(' <Component Id="{}__pycache__folders" Directory="TARGETDIR" Guid="{}">'.f…
101 … lines.extend(' <CreateFolder Directory="{}" />'.format(p) for p in create_folders)
102 …lines.extend(' <RemoveFile Id="Remove_{0}_files" Name="*" On="uninstall" Directory=…
103 …lines.extend(' <RemoveFolder Id="Remove_{0}_folder" On="uninstall" Directory="{0}" …
104 lines.append(' </Component>')
106 lines.extend([
110 lines.append('</Wix>')
116 if all(x.rstrip('\r\n') == y for x, y in zip_longest(f, lines)):
123 f.writelines(line + '\n' for line in lines)
124 print('Wrote {} lines to {}'.format(len(lines), install_target))