bKc@sHddlZddlmZddlmZdZdZdZdS(iN(t pyx_suffixes(t has_suffixsUsage: pyrexc [options] sourcefile... Options: -v, --version Display version number of pyrex compiler -l, --create-listing Write error messages to a listing file -I, --include-dir Search for include files in named directory -o, --output-file Specify name of generated C file -r, --recursive Recursively find and compile dependencies -t, --timestamps Only compile newer source files (implied with -r) -f, --force Compile all source files (overrides implied -t) -q, --quiet Don't print module names in recursive mode The following experimental options are supported only on MacOSX: -C, --compile Compile generated .c file to .o file -X, --link Link .o file to produce extension module (implies -C) -+, --cplus Use C++ compiler for compiling and linking Additional .o files to link may be supplied when using -X.cCstjtIJtjddS(Ni(tsyststderrtusagetexit(((s:/usr/lib/python2.7/site-packages/Pyrex/Compiler/CmdLine.pyt bad_usages csoddlm}m}fdfd}||}g}xrdjdr}|d krd |_q|d!krd |_q|d"krd|_q|d#krd|_d|_q|d$krd |_q|jdr|j j ||q|dkr6|j j q|d%krQ|_ q|d&krid |_ q|d'krd |_ q|d(krd|_ qtqI}t|tr|j |qI|jdr|jj |qItjd|IJqIW|jr-t|d kr-tjdIJn|jret|d kretjdIJtjd n||fS()Ni(tCompilationOptionstdefault_optionscsrjdStdS(Ni(tpopR((targs(s:/usr/lib/python2.7/site-packages/Pyrex/Compiler/CmdLine.pytpop_arg"s cs|d}|r|SSdS(Ni((toptionttail(R (s:/usr/lib/python2.7/site-packages/Pyrex/Compiler/CmdLine.pyt get_param(s it-s-vs --versionis-ls--create-listings-Cs --compiles-Xs--links-+s--cpluss-Is --include-dirs-os --output-files-rs --recursives-ts --timestampss-fs--forces.os#pyrexc: %s: Unknown filename suffixs;pyrexc: Only one source file allowed together with .o filess2pyrexc: Only one source file allowed when using -o(s-vs --version(s-ls--create-listing(s-Cs --compile(s-Xs--link(s-+s--cplus(s-os --output-file(s-rs --recursive(s-ts --timestamps(s-fs--force(tPyrex.Compiler.MainRRt startswitht show_versiontuse_listing_filetc_onlytobj_onlytcplust include_pathtappendt output_filet recursivet timestampsRRRtendswithtobjectsRRtlenR(R RRRtoptionstsourcesR targ((R R s:/usr/lib/python2.7/site-packages/Pyrex/Compiler/CmdLine.pytparse_command_lines^                         (Rt FilenamesRt Pyrex.UtilsRRRR"(((s:/usr/lib/python2.7/site-packages/Pyrex/Compiler/CmdLine.pyts