code: def DirectoriesRelative(self):
          
          # Acquire all directories
          directories = itertools.chain(self.Directories, (os.path.dirname(f) for f in itertools.chain(self.ContentFiles, self.CompileFiles)))
          directories = set(os.path.relpath(d, self.ProjectHome) for d in directories)
  
          # We need separate entries for parent directories of directories in the list
          for path in set(directories):
              subpath = os.path.dirname(path)
              while subpath:
                  directories.add(subpath)
                  subpath = os.path.dirname(subpath)
  
          return sorted(directories)
docs: Returns a generator iterating over the each directory referenced by the project, relative to :attr:`ProjectHome` directory.