Fix setup.py management calls

This commit is contained in:
Raphael Michel
2018-08-06 14:28:38 +02:00
parent db5073223d
commit 54a9c31a1a

View File

@@ -50,10 +50,10 @@ class CustomBuild(build):
settings.COMPRESS_ENABLED = True
settings.COMPRESS_OFFLINE = True
management.call_command('compilemessages', verbosity=1, interactive=False)
management.call_command('compilejsi18n', verbosity=1, interactive=False)
management.call_command('compilemessages', verbosity=1)
management.call_command('compilejsi18n', verbosity=1)
management.call_command('collectstatic', verbosity=1, interactive=False)
management.call_command('compress', verbosity=1, interactive=False)
management.call_command('compress', verbosity=1)
build.run(self)