From mboxrd@z Thu Jan 1 00:00:00 1970 From: tlatorre at uchicago.edu (Anthony LaTorre) Date: Sat, 5 Mar 2016 16:47:54 -0600 Subject: syntax highlighting Message-ID: Hi all, I've recently installed cgit on CentOS 6 from the EPEL repository. Unfortunately python3 is not available for CentOS 6. I have a couple of questions: - Why the hard dependency on python 3? I realize this is really a packaging problem, but the syntax-highlighting.py doesn't look too complex. Is there a reason python2 is not supported? Would a patch be welcome? - I have manually installed python3 but I still don't see any of the source files. I have verified that the script appears to be working by running: $ cat code.h | /usr/libexec/cgit/filters/syntax-highlighting.py code.h and I do see what appears to be the correct HTML. How can I debug why I am not seeing anything? Is there a log file somewhere? Thanks, Tony