Revert "setup.py: do not run compile_translations as part of sdist"

This reverts commit 54d763f430.
This commit is contained in:
Benjamin Dauvergne 2016-06-03 17:37:39 +02:00
parent 54d763f430
commit 1337385964
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,8 @@ class build(_build):
sub_commands = [('compile_translations', None)] + _build.sub_commands
class eo_sdist(sdist):
sub_commands = [('compile_translations', None)] + sdist.sub_commands
def run(self):
if os.path.exists('VERSION'):
os.remove('VERSION')