From: William Stein Date: Sat, 28 Jul 2007 20:39:28 +0000 (-0700) Subject: Changing from pyrex/sagex to cython -- snapshot. X-Git-Tag: 0.9.6.14~29^2~171 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ee1b399fa8bec20bbfb6c4ed1c30f106dabf918a;p=cython.git Changing from pyrex/sagex to cython -- snapshot. --- diff --git a/Cython/Compiler/CmdLine.py b/Cython/Compiler/CmdLine.py index c4793203..e3c603bc 100644 --- a/Cython/Compiler/CmdLine.py +++ b/Cython/Compiler/CmdLine.py @@ -1,22 +1,23 @@ # -# Pyrex - Command Line Parsing +# Cython - Command Line Parsing # import sys import Options usage = """\ -SageX is a minor variant of Pyrex for compiling code for SAGE. +Cython (http://cython.org) is for compiling code written in the Cython +language. Cython is based on Pyrex by Greg Ewing. -Usage: sagexc [options] sourcefile... +Usage: cython [options] sourcefile... Options: - -v, --version Display version number of pyrex compiler + -v, --version Display version number of cython compiler -l, --create-listing Write error messages to a listing file -I, --include-dir Search for include files in named directory (multiply include directories are allowed). -o, --output-file Specify name of generated C file - -p, --embed-positions If specified, the positions in Pyrex files of each + -p, --embed-positions If specified, the positions in Cython files of each function definition is embedded in its docstring. -z, --pre-import If specified, assume undeclared names in this module. Emulates the behavior of putting @@ -33,7 +34,7 @@ def bad_usage(): sys.exit(1) def parse_command_line(args): - from Pyrex.Compiler.Main import \ + from Cython.Compiler.Main import \ CompilationOptions, default_options def pop_arg(): @@ -85,13 +86,13 @@ def parse_command_line(args): options.objects.append(arg) else: print >>sys.stderr, \ - "pyrexc: %s: Unknown filename suffix" % arg + "cython: %s: Unknown filename suffix" % arg if options.objects and len(sources) > 1: print >>sys.stderr, \ - "pyrexc: Only one source file allowed together with .o files" + "cython: Only one source file allowed together with .o files" if options.use_listing_file and len(sources) > 1: print >>sys.stderr, \ - "pyrexc: Only one source file allowed when using -o" + "cython: Only one source file allowed when using -o" sys.exit(1) if len(sources) == 0: bad_usage() diff --git a/Cython/Compiler/Version.py b/Cython/Compiler/Version.py index be15e839..54e34e5c 100644 --- a/Cython/Compiler/Version.py +++ b/Cython/Compiler/Version.py @@ -1 +1 @@ -version = '0.9.5.1a' +version = '0.9.6' diff --git a/Cython/Utils.py b/Cython/Utils.py index 25f7dda8..6cccd39d 100644 --- a/Cython/Utils.py +++ b/Cython/Utils.py @@ -1,5 +1,5 @@ # -# Pyrex -- Things that don't belong +# Cython -- Things that don't belong # anywhere else in particular #