Use automake replacement for hardcoded paths to make installation flexible. Look for hardcoded paths starting with /etc and /usr/share for starters.
Consider putting these values in a single Python file or a config file to confine the path dependencies to as few places as possible.