Commit 514d1d4c authored by Mark Lodato's avatar Mark Lodato

freeze: rename cython_freeze.py to cython_freeze

--HG--
rename : bin/cython_freeze.py => bin/cython_freeze
parent 7952364c
CC = gcc CC = gcc
CYTHON = ./../bin/cython CYTHON = ./../bin/cython
CYTHON_FREEZE = ../../bin/cython_freeze.py CYTHON_FREEZE = ../../bin/cython_freeze
CFLAGS = -fPIC -g -O2 -Wall -Wextra CFLAGS = -fPIC -g -O2 -Wall -Wextra
CPPFLAGS = -I /usr/include/python2.6 CPPFLAGS = -I /usr/include/python2.6
......
NAME NAME
==== ====
cython_freeze.py - create a C file for embedding Cython modules cython_freeze - create a C file for embedding Cython modules
SYNOPSIS SYNOPSIS
======== ========
cython_freeze.py module [...] cython_freeze module [...]
DESCRIPTION DESCRIPTION
=========== ===========
**cython_freeze.py** generates a C source file to embed a Python interpreter **cython_freeze** generates a C source file to embed a Python interpreter
with one or more Cython modules built in. This allows one to create a single with one or more Cython modules built in. This allows one to create a single
executable from Cython code, without having to have separate shared objects executable from Cython code, without having to have separate shared objects
for each Cython module. for each Cython module.
...@@ -47,7 +47,7 @@ The provided Makefile creates an executable, *nCr*, using combinatorics as the ...@@ -47,7 +47,7 @@ The provided Makefile creates an executable, *nCr*, using combinatorics as the
"main" module. It basically performs the following (ignoring the compiler "main" module. It basically performs the following (ignoring the compiler
flags):: flags)::
$ cython_freeze.py combintorics cmath > nCr.c $ cython_freeze combintorics cmath > nCr.c
$ cython combinatorics.pyx $ cython combinatorics.pyx
$ cython cmath.pyx $ cython cmath.pyx
$ gcc nCr.c -o nCr.o $ gcc nCr.c -o nCr.o
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment