|
1 #!/var/local/ztfy/bin/python2.4 |
|
2 |
|
3 import os |
|
4 import sys |
|
5 sys.path[0:0] = [ |
|
6 '/var/local/ztfy/ztfy.app/src', |
|
7 '/var/local/ztfy/ztfy.utils', |
|
8 '/var/local/ztfy/ztfy.monitor', |
|
9 '/var/local/ztfy/ztfy.jqueryui', |
|
10 '/var/local/ztfy/ztfy.skin', |
|
11 '/var/local/ztfy/ztfy.i18n', |
|
12 '/var/local/ztfy/ztfy.workflow', |
|
13 '/var/local/ztfy/ztfy.file', |
|
14 '/var/local/ztfy/ztfy.extfile', |
|
15 '/var/local/ztfy/ztfy.gallery', |
|
16 '/var/local/ztfy/eggs/zope.app.apidoc-3.4.3-py2.4.egg', |
|
17 '/var/local/ztfy/eggs/zope.app.securitypolicy-3.4.6-py2.4.egg', |
|
18 '/var/local/ztfy/eggs/z3c.evalexception-2.0-py2.4.egg', |
|
19 '/var/local/ztfy/eggs/Paste-1.7.2-py2.4.egg', |
|
20 '/var/local/ztfy/eggs/setuptools-0.6c9-py2.4.egg', |
|
21 '/var/local/ztfy/eggs/PasteScript-1.7.3-py2.4.egg', |
|
22 '/var/local/ztfy/eggs/PasteDeploy-1.3.3-py2.4.egg', |
|
23 '/var/local/ztfy/eggs/zope.security-3.4.1-py2.4-linux-i686.egg', |
|
24 '/var/local/ztfy/eggs/zope.securitypolicy-3.4.1-py2.4.egg', |
|
25 '/var/local/ztfy/eggs/zope.schema-3.4.0-py2.4.egg', |
|
26 '/var/local/ztfy/eggs/zope.location-3.4.0-py2.4.egg', |
|
27 '/var/local/ztfy/eggs/zope.interface-3.4.1-py2.4-linux-i686.egg', |
|
28 '/var/local/ztfy/eggs/zope.i18nmessageid-3.4.3-py2.4-linux-i686.egg', |
|
29 '/var/local/ztfy/eggs/zope.i18n-3.4.0-py2.4.egg', |
|
30 '/var/local/ztfy/eggs/zope.exceptions-3.4.0-py2.4.egg', |
|
31 '/var/local/ztfy/eggs/zope.configuration-3.4.0-py2.4.egg', |
|
32 '/var/local/ztfy/eggs/zope.component-3.4.0-py2.4.egg', |
|
33 '/var/local/ztfy/eggs/zope.app.security-3.5.2-py2.4.egg', |
|
34 '/var/local/ztfy/eggs/zope.app.form-3.4.1-py2.4.egg', |
|
35 '/var/local/ztfy/eggs/zope.annotation-3.4.1-py2.4.egg', |
|
36 '/var/local/ztfy/eggs/zope.traversing-3.4.1-py2.4.egg', |
|
37 '/var/local/ztfy/eggs/zope.testing-3.5.6-py2.4.egg', |
|
38 '/var/local/ztfy/eggs/zope.testbrowser-3.4.2-py2.4.egg', |
|
39 '/var/local/ztfy/eggs/zope.publisher-3.4.6-py2.4.egg', |
|
40 '/var/local/ztfy/eggs/zope.proxy-3.4.2-py2.4-linux-i686.egg', |
|
41 '/var/local/ztfy/eggs/zope.deprecation-3.4.0-py2.4.egg', |
|
42 '/var/local/ztfy/eggs/zope.cachedescriptors-3.4.1-py2.4.egg', |
|
43 '/var/local/ztfy/eggs/zope.app.tree-3.4.0-py2.4.egg', |
|
44 '/var/local/ztfy/eggs/zope.app.testing-3.4.3-py2.4.egg', |
|
45 '/var/local/ztfy/eggs/zope.app.skins-3.4.0-py2.4.egg', |
|
46 '/var/local/ztfy/eggs/zope.app.renderer-3.4.0-py2.4.egg', |
|
47 '/var/local/ztfy/eggs/zope.app.publisher-3.4.1-py2.4.egg', |
|
48 '/var/local/ztfy/eggs/zope.app.preference-3.4.1-py2.4.egg', |
|
49 '/var/local/ztfy/eggs/zope.app.onlinehelp-3.4.1-py2.4.egg', |
|
50 '/var/local/ztfy/eggs/zope.app.container-3.5.6-py2.4-linux-i686.egg', |
|
51 '/var/local/ztfy/eggs/zope.app.component-3.4.1-py2.4.egg', |
|
52 '/var/local/ztfy/eggs/zope.app.basicskin-3.4.0-py2.4.egg', |
|
53 '/var/local/ztfy/eggs/zope.app.appsetup-3.4.1-py2.4.egg', |
|
54 '/var/local/ztfy/eggs/zope.app.catalog-3.5.1-py2.4.egg', |
|
55 '/var/local/ztfy/eggs/zope.app.keyreference-3.4.1-py2.4.egg', |
|
56 '/var/local/ztfy/eggs/zope.app.intid-3.4.1-py2.4.egg', |
|
57 '/var/local/ztfy/eggs/zope.app.session-3.5.1-py2.4.egg', |
|
58 '/var/local/ztfy/eggs/zope.app.authentication-3.4.4-py2.4.egg', |
|
59 '/var/local/ztfy/eggs/zope.formlib-3.4.0-py2.4.egg', |
|
60 '/var/local/ztfy/eggs/zope.copypastemove-3.4.0-py2.4.egg', |
|
61 '/var/local/ztfy/eggs/zope.app.zcmlfiles-3.4.3-py2.4.egg', |
|
62 '/var/local/ztfy/eggs/zope.app.wsgi-3.4.1-py2.4.egg', |
|
63 '/var/local/ztfy/eggs/zdaemon-2.0.2-py2.4.egg', |
|
64 '/var/local/ztfy/eggs/ZConfig-2.5.1-py2.4.egg', |
|
65 '/var/local/ztfy/eggs/ZODB3-3.8.1-py2.4-linux-i686.egg', |
|
66 '/var/local/ztfy/eggs/zope.deferredimport-3.4.0-py2.4.egg', |
|
67 '/var/local/ztfy/eggs/pytz-2007k-py2.4.egg', |
|
68 '/var/local/ztfy/eggs/zope.event-3.4.0-py2.4.egg', |
|
69 '/var/local/ztfy/eggs/zope.hookable-3.4.0-py2.4-linux-i686.egg', |
|
70 '/var/local/ztfy/eggs/zope.app.pagetemplate-3.4.1-py2.4.egg', |
|
71 '/var/local/ztfy/eggs/zope.app.applicationcontrol-3.4.3-py2.4.egg', |
|
72 '/var/local/ztfy/eggs/ClientForm-0.2.9-py2.4.egg', |
|
73 '/var/local/ztfy/eggs/mechanize-0.1.7b-py2.4.egg', |
|
74 '/var/local/ztfy/eggs/zope.app.zapi-3.4.0-py2.4.egg', |
|
75 '/var/local/ztfy/eggs/zope.app.rotterdam-3.4.1-py2.4.egg', |
|
76 '/var/local/ztfy/eggs/zope.app.folder-3.4.0-py2.4.egg', |
|
77 '/var/local/ztfy/eggs/zope.app.publication-3.4.3-py2.4.egg', |
|
78 '/var/local/ztfy/eggs/zope.app.dependable-3.4.0-py2.4.egg', |
|
79 '/var/local/ztfy/eggs/zope.app.debug-3.4.1-py2.4.egg', |
|
80 '/var/local/ztfy/eggs/zope.structuredtext-3.4.0-py2.4.egg', |
|
81 '/var/local/ztfy/eggs/docutils-0.4-py2.4.egg', |
|
82 '/var/local/ztfy/eggs/zope.pagetemplate-3.4.0-py2.4.egg', |
|
83 '/var/local/ztfy/eggs/zope.datetime-3.4.0-py2.4.egg', |
|
84 '/var/local/ztfy/eggs/zope.contenttype-3.4.0-py2.4.egg', |
|
85 '/var/local/ztfy/eggs/zope.app.file-3.4.4-py2.4.egg', |
|
86 '/var/local/ztfy/eggs/zope.app.broken-3.4.0-py2.4.egg', |
|
87 '/var/local/ztfy/eggs/zope.dublincore-3.4.0-py2.4.egg', |
|
88 '/var/local/ztfy/eggs/zope.size-3.4.0-py2.4.egg', |
|
89 '/var/local/ztfy/eggs/zope.filerepresentation-3.4.0-py2.4.egg', |
|
90 '/var/local/ztfy/eggs/zope.lifecycleevent-3.4.0-py2.4.egg', |
|
91 '/var/local/ztfy/eggs/zope.dottedname-3.4.2-py2.4.egg', |
|
92 '/var/local/ztfy/eggs/zope.thread-3.4-py2.4.egg', |
|
93 '/var/local/ztfy/eggs/zope.app.interface-3.4.0-py2.4.egg', |
|
94 '/var/local/ztfy/eggs/zope.error-3.5.1-py2.4.egg', |
|
95 '/var/local/ztfy/eggs/zope.index-3.4.1-py2.4.egg', |
|
96 '/var/local/ztfy/eggs/zope.session-3.4.1-py2.4.egg', |
|
97 '/var/local/ztfy/eggs/zope.minmax-1.1.0-py2.4.egg', |
|
98 '/var/local/ztfy/eggs/zope.app.http-3.4.1-py2.4.egg', |
|
99 '/var/local/ztfy/eggs/zope.app.principalannotation-3.4.0-py2.4.egg', |
|
100 '/var/local/ztfy/eggs/zope.app.schema-3.4.0-py2.4.egg', |
|
101 '/var/local/ztfy/eggs/zope.app.zopeappgenerations-3.4.0-py2.4.egg', |
|
102 '/var/local/ztfy/eggs/zope.app.locales-3.4.5-py2.4.egg', |
|
103 '/var/local/ztfy/eggs/zope.app.i18n-3.4.4-py2.4.egg', |
|
104 '/var/local/ztfy/eggs/zope.app.generations-3.4.1-py2.4.egg', |
|
105 '/var/local/ztfy/eggs/zope.app.content-3.4.0-py2.4.egg', |
|
106 '/var/local/ztfy/eggs/zope.modulealias-3.4.0-py2.4.egg', |
|
107 '/var/local/ztfy/eggs/zope.tales-3.4.0-py2.4.egg', |
|
108 '/var/local/ztfy/eggs/zope.app.exception-3.4.1-py2.4.egg', |
|
109 '/var/local/ztfy/eggs/zope.app.error-3.5.1-py2.4.egg', |
|
110 '/var/local/ztfy/eggs/zope.tal-3.4.1-py2.4.egg', |
|
111 '/var/local/ztfy/eggs/zodbcode-3.4.0-py2.4.egg', |
|
112 '/var/local/ztfy/eggs/RestrictedPython-3.4.2-py2.4.egg', |
|
113 '/var/local/ztfy/eggs/zope.paste-0.3-py2.4.egg', |
|
114 '/var/local/ztfy/eggs/zope.viewlet-3.4.2-py2.4.egg', |
|
115 '/var/local/ztfy/eggs/zope.contentprovider-3.4.0-py2.4.egg', |
|
116 '/var/local/ztfy/eggs/lxml-1.3.6-py2.4-linux-i686.egg', |
|
117 '/var/local/ztfy/eggs/threadframe-0.2-py2.4-linux-i686.egg', |
|
118 '/var/local/ztfy/eggs/zc.monitor-0.1.2-py2.4.egg', |
|
119 '/var/local/ztfy/eggs/zc.ngi-1.0.1-py2.4.egg', |
|
120 '/var/local/ztfy/eggs/zc.z3monitor-0.7.0-py2.4.egg', |
|
121 '/var/local/ztfy/eggs/zc.resourcelibrary-1.0.0-py2.4.egg', |
|
122 '/var/local/ztfy/eggs/z3c.language.negotiator-1.0.1-py2.4.egg', |
|
123 '/var/local/ztfy/eggs/z3c.language.session-1.0.1-py2.4.egg', |
|
124 '/var/local/ztfy/eggs/z3c.language.switch-1.0.1-py2.4.egg', |
|
125 '/var/local/ztfy/eggs/z3c.layer-0.2.3-py2.4.egg', |
|
126 '/var/local/ztfy/eggs/z3c.widget-0.1.7-py2.4.egg', |
|
127 '/var/local/ztfy/eggs/z3c.form-1.8.0-py2.4.egg', |
|
128 '/var/local/ztfy/eggs/z3c.formui-1.4.1-py2.4.egg', |
|
129 '/var/local/ztfy/eggs/z3c.formjs-0.3.0-py2.4.egg', |
|
130 '/var/local/ztfy/eggs/z3c.macro-1.1.0-py2.4.egg', |
|
131 '/var/local/ztfy/eggs/z3c.template-1.1-py2.4.egg', |
|
132 '/var/local/ztfy/eggs/z3c.menu-0.2.0-py2.4.egg', |
|
133 '/var/local/ztfy/eggs/z3c.json-0.5.1-py2.4.egg', |
|
134 '/var/local/ztfy/eggs/z3c.jsonrpc-0.5.1-py2.4.egg', |
|
135 '/var/local/ztfy/eggs/z3c.viewlet-1.0.0-py2.4.egg', |
|
136 '/var/local/ztfy/eggs/z3c.i18n-0.1.1-py2.4.egg', |
|
137 '/var/local/ztfy/eggs/z3c.traverser-0.2.1-py2.4.egg', |
|
138 '/var/local/ztfy/eggs/z3c.schema-0.1_r73916-py2.4.egg', |
|
139 '/var/local/ztfy/eggs/z3c.javascript-0.2_r80712-py2.4.egg', |
|
140 '/var/local/ztfy/eggs/z3c.pagelet-1.0.2-py2.4.egg', |
|
141 '/var/local/ztfy/eggs/z3c.resourceinclude-0.2.2-py2.4.egg', |
|
142 '/var/local/ztfy/eggs/z3c.pt-0.6.1-py2.4.egg', |
|
143 '/var/local/ztfy/eggs/jquery.layer-1.0.0-py2.4.egg', |
|
144 ] |
|
145 |
|
146 from zope.app.locales import extract |
|
147 |
|
148 basedir = os.path.realpath(os.path.join(os.path.dirname(__file__), |
|
149 '../ztfy/utils')) |
|
150 sitedir = os.path.realpath(os.path.join(os.path.dirname(__file__), |
|
151 '../../ztfy.app/site.zcml')) |
|
152 |
|
153 extract.main(argv = [ '-p', basedir, |
|
154 '-s', sitedir, |
|
155 '-d', 'ztfy.utils', |
|
156 '-o', os.path.join(basedir,'locales') ]) |