def get_installed_pypackages():
    return {p.project_name.lower(): p for p in pkg_resources.working_set}
def foam_arch(self):
        if not self._foam_arch:
            self._foam_arch = OpenfoamOrgArch(self.spec, **self.config)
        return self._foam_arch