parameters: (destdir, verbose=1)
docstring: Build a locale dir under the wxPython package for MSW
docstring_summary: Build a locale dir under the wxPython package for MSW
docstring_tokens: Build a locale dir under the wxPython package for MSW
function: def build_locale_dir(destdir, verbose=1):
      """Build a locale dir under the wxPython package for MSW"""
      moFiles = glob.glob(opj(WXDIR, 'locale', '*.mo'))
      for src in moFiles:
          lang = os.path.splitext(os.path.basename(src))[0]
          #dest = opj(destdir, lang)
          dest = opj(destdir, lang, 'LC_MESSAGES')
          mkpath(dest, verbose=verbose)
          copy_file(src, opj(dest, 'wxstd.mo'), update=1, verbose=verbose)
          CLEANUP.append(opj(dest, 'wxstd.mo'))
          CLEANUP.append(dest)
function_tokens: def build_locale_dir ( destdir , verbose = 1 ) : moFiles = glob . glob ( opj ( WXDIR , 'locale' , '*.mo' ) ) for src in moFiles : lang = os . path . splitext ( os . path . basename ( src ) ) [ 0 ] #dest = opj(destdir, lang) dest = opj ( destdir , lang , 'LC_MESSAGES' ) mkpath ( dest , verbose = verbose ) copy_file ( src , opj ( dest , 'wxstd.mo' ) , update = 1 , verbose = verbose ) CLEANUP . append ( opj ( dest , 'wxstd.mo' ) ) CLEANUP . append ( dest )