Some common stuff for python-based toolchains.