home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyo (Python 2.6)
-
- from buildutil import dpy, cd, tardep
- import os.path as os
- DIGSBY_ROOT = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), '..'))
- i18bin = tardep('http://mini/deps/i18n/win/', 'i18nbin', '.zip', 1037011)
-
- def download_i18n_tools():
- cd(DIGSBY_ROOT, 'build', 'msw').__enter__()
-
- try:
- d = i18bin.get()
- return os.path.abspath(d)
- finally:
- pass
-
-
-
- def make_po_files():
- toolsdir = download_i18n_tools()
- path = os.pathsep.join((toolsdir, os.environ.get('PATH', '')))
- cd(DIGSBY_ROOT).__enter__()
-
- try:
- dpy([
- 'mki18n.py',
- '-m',
- '-v',
- '--domain=Digsby',
- DIGSBY_ROOT], addenv = dict(PATH = path))
- finally:
- pass
-
-
- if __name__ == '__main__':
- make_po_files()
-
-