From 375be2b3b198b437d5d45d90493025046305985b Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 15 Jun 2018 14:55:47 +0300 Subject: [PATCH] Fix(web): Replace compyle with `python -m compile` --- m_librarian/web/views/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/m_librarian/web/views/Makefile b/m_librarian/web/views/Makefile index fc8b7be..8f6ed13 100644 --- a/m_librarian/web/views/Makefile +++ b/m_librarian/web/views/Makefile @@ -3,7 +3,9 @@ %.py: %.tmpl - cheetah compile --nobackup $< && compyle $@ + cheetah compile --nobackup $< + python -m compile $@ + python -O -m compile $@ templates = $(shell echo *.tmpl) -- 2.39.2