1 2 3 4 5
import os VERSION='@VERSION@' PREFIX='@PREFIX@' locale_install_dir=os.path.join('@DATADIR@'.replace("${prefix}",PREFIX), 'locale')