prewikka/prewikka-cheetah-shbang.patch

12 lines
423 B
Diff

--- setup.py 2016-04-26 12:10:01.792592253 +0200
+++ setup.py.new 2016-04-26 12:09:53.444776966 +0200
@@ -53,7 +53,7 @@
def template_compile(input, output_dir):
from Cheetah.CheetahWrapper import CheetahWrapper
- CheetahWrapper().main([ sys.argv[0], "compile", "--nobackup", input ])
+ CheetahWrapper().main([ sys.argv[0], "compile", "--nobackup", "--shbang", "''", input ])
class my_build_py(build_py):