(self)
Runs the command.
Runs the command.
Runs the command .
def run(self):
        """Runs the command."""
        # perform the various tests
        if self.metadata:
            self.check_metadata()
        if self.restructuredtext:
            if HAS_DOCUTILS:
                self.check_restructuredtext()
            elif self.strict:
                raise DistutilsSetupError('The docutils package is needed.')

        # let's raise an error in strict mode, if we have at least
        # one warning
        if self.strict and self._warnings > 0:
            raise DistutilsSetupError('Please correct your package.')
def run ( self ) : # perform the various tests if self . metadata : self . check_metadata ( ) if self . restructuredtext : if HAS_DOCUTILS : self . check_restructuredtext ( ) elif self . strict : raise DistutilsSetupError ( 'The docutils package is needed.' ) # let's raise an error in strict mode, if we have at least # one warning if self . strict and self . _warnings > 0 : raise DistutilsSetupError ( 'Please correct your package.' )