Wed, 24 Jan 2018 09:19:42 +0000
py2app fails on several dependencies (xdg, pyyaml) that are satisfied
(pip reports installed), so remove them; need to be installed manually
# # FIFO memory logger # from logging.handlers import BufferingHandler class FIFOHandler(BufferingHandler): def shouldFlush(self, record): return False def emit(self, record): self.buffer.append(record) l=len(self.buffer) if l>self.capacity: self.buffer=self.buffer[(l-self.capacity):(l-1)] def formatAll(self): return [self.format(record) for record in self.buffer]