def compile(self, source_path, from_management=False, verbosity=0):
        """ Compile the given source path and return relative path to the compiled file.
            Raise ValueError is the source file type is not supported.
            May raise a StaticCompilationError if something goes wrong with compilation.
        :param source_path: relative path to a source file
        :type source_path: str
        :param from_management: whether the method was invoked from management command
        :type from_management: bool
        :type verbosity: int
        :rtype: str

        """
        if not self.is_supported(source_path):
            raise ValueError("'{0}' file type is not supported by '{1}'".format(
                source_path, self.__class__.__name__
            ))

        compiled_path = self.get_output_path(source_path)

        if self.should_compile(source_path, from_management=from_management):

            compiled_path = self.compile_file(source_path)

            if self.supports_dependencies:
                self.update_dependencies(source_path, self.find_dependencies(source_path))

            message = "Compiled '{0}' to '{1}'".format(source_path, compiled_path)

            if from_management and 1 >= verbosity:
                print(message)
            else:
                logging.info(message)

        return compiled_path
dataset/ETHPy150Open andreyfedoseev/django-static-precompiler/static_precompiler/compilers/base.py/BaseCompiler.compile/swapped operands of `>=`