'Save the pth file
Create a symlink to the path if it does not already exist.'

def save(self):

    with open(self._path, 'w') as _file:
        _file.write('import    sys;    sys.__plen    =    len(sys.path)\n')
        _file.write('\n'.join(sorted(self._entries)))
        _file.write('\nimport    sys;    new=sys.path[sys.__plen:];    del    sys.path[sys.__plen:];    sys.path[0:0]=new\n')
    LOG.info(('===    Saved    %s' % self._path))
