projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
162043e
)
freeze: remove blank lines from beginning and end
author
Mark Lodato
<lodatom@gmail.com>
Mon, 5 Oct 2009 00:02:03 +0000
(20:02 -0400)
committer
Mark Lodato
<lodatom@gmail.com>
Mon, 5 Oct 2009 00:02:03 +0000
(20:02 -0400)
bin/cython_freeze
patch
|
blob
|
history
diff --git
a/bin/cython_freeze
b/bin/cython_freeze
index b9441e4eaa8d9a067a8cb796c9defbf72377f5fe..1bb582ada0081ee4ce16457abdd2545a9c2723d3 100755
(executable)
--- a/
bin/cython_freeze
+++ b/
bin/cython_freeze
@@
-34,7
+34,7
@@
def format_modname(name):
modules = [format_modname(x) for x in args]
-print """
+print """
\
#include <Python.h>
#include <stdio.h>
#include <stdlib.h>
@@
-86,4
+86,4
@@
int wmain(int argc, wchar_t **argv) {
Py_Finalize();
return r;
}
-""" % {'main' : modules[0]}
+""" % {'main' : modules[0]}
,