Yes, thanks for this good idea, i added a new command to setup.py to do this.
It first retrieves up-to-date po/countries/countries.pot from transifex, parse it using babel module (we need this one anyways as Picard maintainers), then generate countries.py.
See 21ab24f and next ones.