Skip to content
This repository has been archived by the owner on Jan 31, 2019. It is now read-only.

Commit

Permalink
Added check for the MSGFMT binary, needed to install devedeng
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Costas committed Mar 24, 2018
1 parent 8dfa31e commit dd4366e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup.py
Expand Up @@ -43,6 +43,10 @@ def get_data_files():

def compile_translations():

if (os.system("msgfmt -V") != 0):
print('You need the binary "msgfmt" (from "gettext") to compile the translations. Aborting')
sys.exit(-1)

try:
for pofile in [f for f in os.listdir('po') if f.endswith('.po')]:
pofile = os.path.join('po', pofile)
Expand Down

0 comments on commit dd4366e

Please sign in to comment.