1 2 3 4 5 6 7 8 9 10 11 |
#!/usr/bin/env python import commands version = open("VERSION").read() version = version.strip() print version print commands.getoutput("python ./generate_pot.py . caffeine "+version+ " translations/caffeine.pot") print commands.getoutput("python ./compile_translations.py caffeine translations") |