Root directory of this :class:`Configurator`.

        Evaluated from the :attr:`script` attribute.

def root_dir(self):
        """Root directory of this :class:`Configurator`.

        Evaluated from the :attr:`script` attribute.
        """
        if self.cfg.script:
            return os.path.dirname(self.cfg.script)