def _compile_files(self):
for f in glob.glob(os.path.join(self.dir_path, '<STR_LIT>')):<EOL><INDENT>if not os.path.isfile(os.path.join(self.dir_path, f + '<STR_LIT:c>')):<EOL><INDENT>compileall.compile_dir(self.dir_path, quiet=True)<EOL>logging.debug('<STR_LIT>')<EOL>return<EOL><DEDENT>elif os.path.getmtime(os.path.join(self.dir_path, f)) > os.path.getmtime(<EOL>os.path.join(self.dir_path, f + '<STR_LIT:c>')):<EOL><INDENT>compileall.compile_dir(self.dir_path, quiet=True)<EOL>logging.debug('<STR_LIT>')<EOL>return<EOL><DEDENT><DEDENT>
Compiles python plugin files in order to be processed by the loader.
It compiles the plugins if they have been updated or haven't yet been
compiled.