code: def _get_relative_pythonpath(self):
          
          # Workaround to replace os.path.relpath (new in Python v2.6):
          offset = len(self.root_path)+len(os.pathsep)
          return [path[offset:] for path in self.pythonpath]
docs: Return PYTHONPATH list as relative paths