setup.py: don't add *.mo files into source file
parent
160760c0d1
commit
5b9e5480c2
6
setup.py
6
setup.py
|
@ -37,9 +37,6 @@ class compile_translations(Command):
|
|||
class build(_build):
|
||||
sub_commands = [('compile_translations', None)] + _build.sub_commands
|
||||
|
||||
class sdist(_sdist):
|
||||
sub_commands = [('compile_translations', None)] + _sdist.sub_commands
|
||||
|
||||
class install_lib(_install_lib):
|
||||
def run(self):
|
||||
self.run_command('compile_translations')
|
||||
|
@ -93,6 +90,5 @@ setup(name="portail_citoyen_announces",
|
|||
],
|
||||
dependency_links=[],
|
||||
cmdclass={'build': build, 'install_lib': install_lib,
|
||||
'compile_translations': compile_translations,
|
||||
'sdist': sdist},
|
||||
'compile_translations': compile_translations},
|
||||
)
|
||||
|
|
Reference in New Issue