bin/i18nextract
branchZTK-1.1
changeset 123 e88a6168a90e
parent 122 33fccc7909b5
child 124 953f5b5bddb6
equal deleted inserted replaced
122:33fccc7909b5 123:e88a6168a90e
     1 #!/var/local/env/bb-2.6/bin/python
       
     2 
       
     3 import sys
       
     4 sys.path[0:0] = [
       
     5     '/var/local/src/ztfy-bb/ztfy.utils',
       
     6     '/var/local/eggs/z3c.recipe.i18n-0.6.0-py2.6.egg',
       
     7     '/var/local/eggs/zope.app.locales-3.6.2-py2.6.egg',
       
     8     '/var/local/eggs/zope.app.appsetup-3.15.0-py2.6.egg',
       
     9     '/var/local/eggs/zope.app.applicationcontrol-3.5.9-py2.6.egg',
       
    10     '/var/local/eggs/zope.tal-3.5.2-py2.6.egg',
       
    11     '/var/local/eggs/zope.interface-3.7.0-py2.6-linux-x86_64.egg',
       
    12     '/var/local/eggs/zope.i18nmessageid-3.5.3-py2.6-linux-x86_64.egg',
       
    13     '/var/local/env/bb-2.6/lib/python2.6/site-packages/distribute-0.6.19-py2.6.egg',
       
    14     '/var/local/eggs/zope.configuration-3.7.4-py2.6.egg',
       
    15     '/var/local/eggs/zc.recipe.egg-1.3.2-py2.6.egg',
       
    16     '/var/local/eggs/zc.buildout-1.5.2-py2.6.egg',
       
    17     '/var/local/eggs/zopyx.txng3.core-3.5.3-py2.6.egg',
       
    18     '/var/local/eggs/zope.tales-3.5.1-py2.6.egg',
       
    19     '/var/local/eggs/zope.session-3.9.5-py2.6.egg',
       
    20     '/var/local/eggs/zope.security-3.8.3-py2.6-linux-x86_64.egg',
       
    21     '/var/local/eggs/zope.schema-3.7.1-py2.6.egg',
       
    22     '/var/local/eggs/zope.publisher-3.12.6-py2.6.egg',
       
    23     '/var/local/eggs/zope.location-3.9.0-py2.6.egg',
       
    24     '/var/local/eggs/zope.intid-3.7.2-py2.6.egg',
       
    25     '/var/local/eggs/zope.index-3.6.1-py2.6-linux-x86_64.egg',
       
    26     '/var/local/eggs/zope.i18n-3.7.4-py2.6.egg',
       
    27     '/var/local/eggs/zope.datetime-3.4.0-py2.6.egg',
       
    28     '/var/local/eggs/zope.container-3.12.0-py2.6-linux-x86_64.egg',
       
    29     '/var/local/eggs/zope.component-3.10.0-py2.6.egg',
       
    30     '/var/local/eggs/zope.catalog-3.8.1-py2.6.egg',
       
    31     '/var/local/eggs/zope.app.file-3.6.1-py2.6.egg',
       
    32     '/var/local/eggs/zope.app.authentication-3.9-py2.6.egg',
       
    33     '/var/local/eggs/zope.annotation-3.5.0-py2.6.egg',
       
    34     '/var/local/eggs/zc.set-0.1dev_r75642-py2.6.egg',
       
    35     '/var/local/eggs/z3c.form-2.4.3-py2.6.egg',
       
    36     '/var/local/eggs/pytz-2011g-py2.6.egg',
       
    37     '/var/local/eggs/hurry.query-1.1.0-py2.6.egg',
       
    38     '/var/local/eggs/fanstatic-0.11.3-py2.6.egg',
       
    39     '/var/local/eggs/chardet-1.0.1-py2.6.egg',
       
    40     '/var/local/eggs/zope.traversing-3.14.0-py2.6.egg',
       
    41     '/var/local/eggs/zope.site-3.9.2-py2.6.egg',
       
    42     '/var/local/eggs/zope.processlifetime-1.0-py2.6.egg',
       
    43     '/var/local/eggs/zope.event-3.5.1-py2.6.egg',
       
    44     '/var/local/eggs/zope.error-3.7.2-py2.6.egg',
       
    45     '/var/local/eggs/zope.app.publication-3.12.0-py2.6.egg',
       
    46     '/var/local/eggs/ZODB3-3.10.3-py2.6-linux-x86_64.egg',
       
    47     '/var/local/eggs/zope.size-3.4.1-py2.6.egg',
       
    48     '/var/local/eggs/zope.applicationcontrol-3.5.5-py2.6.egg',
       
    49     '/var/local/eggs/zopyx.txng3.ext-3.3.2-py2.6-linux-x86_64.egg',
       
    50     '/var/local/eggs/zope.minmax-1.1.2-py2.6.egg',
       
    51     '/var/local/eggs/zope.proxy-3.6.1-py2.6-linux-x86_64.egg',
       
    52     '/var/local/eggs/zope.exceptions-3.6.1-py2.6.egg',
       
    53     '/var/local/eggs/zope.contenttype-3.5.5-py2.6.egg',
       
    54     '/var/local/eggs/zope.browser-1.3-py2.6.egg',
       
    55     '/var/local/eggs/zope.keyreference-3.6.2-py2.6.egg',
       
    56     '/var/local/eggs/zope.lifecycleevent-3.6.2-py2.6.egg',
       
    57     '/var/local/eggs/zope.broken-3.6.0-py2.6.egg',
       
    58     '/var/local/eggs/zope.filerepresentation-3.6.0-py2.6.egg',
       
    59     '/var/local/eggs/zope.dottedname-3.4.6-py2.6.egg',
       
    60     '/var/local/eggs/zope.dublincore-3.8.2-py2.6.egg',
       
    61     '/var/local/eggs/transaction-1.1.1-py2.6.egg',
       
    62     '/var/local/eggs/zope.app.component-3.9.3-py2.6.egg',
       
    63     '/var/local/eggs/zope.app.container-3.9.1-py2.6.egg',
       
    64     '/var/local/eggs/zope.pluggableauth-1.2-py2.6.egg',
       
    65     '/var/local/eggs/zope.password-3.6.1-py2.6.egg',
       
    66     '/var/local/eggs/zope.formlib-4.0.6-py2.6.egg',
       
    67     '/var/local/eggs/zope.authentication-3.7.1-py2.6.egg',
       
    68     '/var/local/eggs/zope.app.folder-3.5.2-py2.6.egg',
       
    69     '/var/local/eggs/zope.pagetemplate-3.5.2-py2.6.egg',
       
    70     '/var/local/eggs/zope.contentprovider-3.7.2-py2.6.egg',
       
    71     '/var/local/eggs/zc.catalog-1.5-py2.6.egg',
       
    72     '/var/local/eggs/WebOb-1.2b2-py2.6.egg',
       
    73     '/var/local/env/bb-2.6/lib/python2.6/site-packages/Paste-1.7.5.1-py2.6.egg',
       
    74     '/var/local/eggs/zdaemon-2.0.4-py2.6.egg',
       
    75     '/var/local/eggs/ZConfig-2.8.0-py2.6.egg',
       
    76     '/var/local/eggs/zc.lockfile-1.0.0-py2.6.egg',
       
    77     '/var/local/eggs/zope.componentvocabulary-1.0.1-py2.6.egg',
       
    78     '/var/local/eggs/zope.deprecation-3.4.1-py2.6.egg',
       
    79     '/var/local/eggs/zope.app.pagetemplate-3.11.2-py2.6.egg',
       
    80     '/var/local/eggs/zope.app.publisher-3.10.2-py2.6.egg',
       
    81     '/var/local/eggs/zope.copypastemove-3.8.0-py2.6.egg',
       
    82     '/var/local/eggs/zope.browserpage-3.12.2-py2.6.egg',
       
    83     '/var/local/eggs/zope.app.content-3.5.1-py2.6.egg',
       
    84     '/var/local/eggs/zope.hookable-3.4.1-py2.6-linux-x86_64.egg',
       
    85     '/var/local/eggs/zope.ptresource-3.9.0-py2.6.egg',
       
    86     '/var/local/eggs/zope.browserresource-3.12.0-py2.6.egg',
       
    87     '/var/local/eggs/zope.browsermenu-3.9.1-py2.6.egg',
       
    88     '/var/local/eggs/zope.copy-3.5.0-py2.6.egg',
       
    89     '/var/local/eggs/RestrictedPython-3.6.0-py2.6.egg',
       
    90     '/var/local/eggs/z3c.recipe.i18n-0.6.0-py2.6.egg',
       
    91     ]
       
    92 
       
    93 
       
    94 import os
       
    95 sys.argv[0] = os.path.abspath(sys.argv[0])
       
    96 os.chdir('/var/local/eggs/z3c.recipe.i18n-0.6.0-py2.6.egg')
       
    97 
       
    98 
       
    99 import z3c.recipe.i18n.i18nextract
       
   100 
       
   101 if __name__ == '__main__':
       
   102     z3c.recipe.i18n.i18nextract.main(['i18nextract', '-d', 'ztfy.utils', '-s', '/var/local/src/ztfy-bb/ztfy.utils/parts/i18n/configure.zcml', '-o', '/var/local/src/ztfy-bb/ztfy.utils/ztfy/utils/locales', '-p', 'ztfy.utils'])