From 514d1d4c1e902c4a4a998ac180a337ccaf724f9f Mon Sep 17 00:00:00 2001 From: Mark Lodato Date: Sat, 3 Oct 2009 15:55:55 -0400 Subject: [PATCH] freeze: rename cython_freeze.py to cython_freeze --HG-- rename : bin/cython_freeze.py => bin/cython_freeze --- Demos/freeze/Makefile | 2 +- Demos/freeze/README.rst | 8 ++++---- bin/{cython_freeze.py => cython_freeze} | 0 3 files changed, 5 insertions(+), 5 deletions(-) rename bin/{cython_freeze.py => cython_freeze} (100%) diff --git a/Demos/freeze/Makefile b/Demos/freeze/Makefile index dd511e08..aa09c83b 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 33b530b3..1a6f36a1 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 similarity index 100% rename from bin/cython_freeze.py rename to bin/cython_freeze -- 2.26.2