Build/distrib things

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-03-06 19:04:58 +00:00
parent 5505bde35b
commit d45aa93b61
7 changed files with 12 additions and 8 deletions

View File

@@ -354,15 +354,16 @@ def find_DLLs():
#----------------------------------------------------------------------
locale_template = 'Source: "%s"; DestDir: "{app}\%s"; Components: core'
def build_locale_string():
template = 'Source: "%s"; DestDir: "{app}\%s"; Components: core'
stringlst = []
def walk_helper(lst, dirname, files):
for f in files:
filename = os.path.join(dirname, f)
if not os.path.isdir(filename):
lst.append( template % (filename, dirname) )
lst.append( locale_template % (filename, dirname) )
os.path.walk('wxPython\\locale', walk_helper, stringlst)
return '\n'.join(stringlst)