diff options
author | Mark Lodato <lodatom@gmail.com> | 2009-10-03 15:55:55 -0400 |
---|---|---|
committer | Mark Lodato <lodatom@gmail.com> | 2009-10-03 15:55:55 -0400 |
commit | 514d1d4c1e902c4a4a998ac180a337ccaf724f9f (patch) | |
tree | 1ffe336b6ea2a5ce8abb2cd05b6a5bbd7cfe1d25 | |
parent | 7952364cb2aaacdd04fec9b6af666491d65fc7ac (diff) | |
download | cython-514d1d4c1e902c4a4a998ac180a337ccaf724f9f.tar.gz |
freeze: rename cython_freeze.py to cython_freeze
--HG--
rename : bin/cython_freeze.py => bin/cython_freeze
-rw-r--r-- | Demos/freeze/Makefile | 2 | ||||
-rw-r--r-- | Demos/freeze/README.rst | 8 | ||||
-rwxr-xr-x | bin/cython_freeze (renamed from bin/cython_freeze.py) | 0 |
3 files changed, 5 insertions, 5 deletions
diff --git a/Demos/freeze/Makefile b/Demos/freeze/Makefile index dd511e084..aa09c83bc 100644 --- a/Demos/freeze/Makefile +++ b/Demos/freeze/Makefile @@ -1,6 +1,6 @@ CC = gcc CYTHON = ./../bin/cython -CYTHON_FREEZE = ../../bin/cython_freeze.py +CYTHON_FREEZE = ../../bin/cython_freeze CFLAGS = -fPIC -g -O2 -Wall -Wextra CPPFLAGS = -I /usr/include/python2.6 diff --git a/Demos/freeze/README.rst b/Demos/freeze/README.rst index 33b530b30..1a6f36a1d 100644 --- a/Demos/freeze/README.rst +++ b/Demos/freeze/README.rst @@ -1,19 +1,19 @@ NAME ==== -cython_freeze.py - create a C file for embedding Cython modules +cython_freeze - create a C file for embedding Cython modules SYNOPSIS ======== -cython_freeze.py module [...] +cython_freeze module [...] 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 executable from Cython code, without having to have separate shared objects for each Cython module. @@ -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 flags):: - $ cython_freeze.py combintorics cmath > nCr.c + $ cython_freeze combintorics cmath > nCr.c $ cython combinatorics.pyx $ cython cmath.pyx $ gcc nCr.c -o nCr.o diff --git a/bin/cython_freeze.py b/bin/cython_freeze index f30046295..f30046295 100755 --- a/bin/cython_freeze.py +++ b/bin/cython_freeze |