|
@@ -18,13 +18,8 @@ class DevelopWithCompileCatalog(develop):
|
18
|
18
|
|
19
|
19
|
def run(self):
|
20
|
20
|
"""Compiles binary translation files from catalog."""
|
21
|
|
- from babel.messages.frontend import compile_catalog
|
22
|
|
- compiler = compile_catalog(self.distribution)
|
23
|
|
- option_dict = self.distribution.get_option_dict('compile_catalog')
|
24
|
|
- compiler.domain = option_dict['domain'][1]
|
25
|
|
- compiler.directory = option_dict['directory'][1]
|
26
|
|
- compiler.run()
|
27
|
21
|
super().run()
|
|
22
|
+ self.run_command('compile_catalog')
|
28
|
23
|
|
29
|
24
|
|
30
|
25
|
classifiers = [
|
|
@@ -56,12 +51,13 @@ install_requires = [
|
56
|
51
|
'pytz==2014.7',
|
57
|
52
|
'rq==0.7.1',
|
58
|
53
|
'filedepot>=0.5.0',
|
59
|
|
- 'preview-generator'
|
|
54
|
+ 'preview-generator',
|
|
55
|
+ 'babel',
|
60
|
56
|
]
|
61
|
57
|
|
62
|
58
|
setup_requires = [
|
63
|
59
|
'babel',
|
64
|
|
-],
|
|
60
|
+]
|
65
|
61
|
|
66
|
62
|
setup(
|
67
|
63
|
name='tracim',
|
|
@@ -75,6 +71,7 @@ setup(
|
75
|
71
|
url='https://github.com/tracim/tracim',
|
76
|
72
|
packages=find_packages(exclude=['ez_setup']),
|
77
|
73
|
install_requires=install_requires,
|
|
74
|
+ setup_requires=setup_requires,
|
78
|
75
|
include_package_data=True,
|
79
|
76
|
test_suite='nose.collector',
|
80
|
77
|
tests_require=testpkgs,
|