python: Build shared python modules for generic use.