@cached_property
    def shared_locations(self):
        result = {}
        shared_path = os.path.join(self.path, 'SHARED')
        if os.path.isfile(shared_path):
            with codecs.open(shared_path, 'r', encoding='utf-8') as f:
                lines = f.read().splitlines()
            for line in lines:
                key, value = line.split('=', 1)
                if key == 'namespace':
                    result.setdefault(key, []).append(value)
                else:
                    result[key] = value
        return result
A dictionary of shared locations whose keys are in the set 'prefix',
dataset/ETHPy150Open anzev/hedwig/build/pip/pip/_vendor/distlib/database.py/InstalledDistribution.shared_locations