def python_lib_rpm_dirs(self):
        """Both arch and non-arch site-packages directories."""
        libs = [self.python_lib_arch_dir, self.python_lib_non_arch_dir]

        def append_rpm(path):
            return os.path.join(path, 'rpm')

        return map(append_rpm, libs)
def python_lib_rpm_dirs ( self ) : libs = [ self . python_lib_arch_dir , self . python_lib_non_arch_dir ] def append_rpm ( path ) : return os . path . join ( path , 'rpm' ) return map ( append_rpm , libs )
Both arch and non-arch site-packages directories.