Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325
ó l]Œjc@s/dZdZddlZddlZddlZddlZddlTddlmZm Z ddl m Z ddl Tddl mZmZddlmZdd lmZdd lmZdd lmZejd krýdd lmZeeƒƒZnejdƒZd„Zde fd„ƒYZ dS(s¶distutils.command.build_ext Implements the Distutils 'build_ext' command, for building extension modules (currently limited to C extensions, should accommodate C++ extensions ASAP).s$Id$iÿÿÿÿN(t*(t USER_BASEt USER_SITE(tCommand(tcustomize_compilertget_python_version(t newer_group(t Extension(t get_platform(tlogtnt(tget_build_versions3^[a-zA-Z_][a-zA-Z_0-9]*(\.[a-zA-Z_][a-zA-Z_0-9]*)*$cCsddlm}|ƒdS(Niÿÿÿÿ(tshow_compilers(tdistutils.ccompilerR (R ((s3/usr/lib64/python2.7/distutils/command/build_ext.pyR st build_extcBs?eZdZdejZdFdGdd d eƒfd d d dfdddefdHdIdJdddefdKdLdMdNdOdQdRdSdTgZd d$d'd-d3gZ d5dPd6e fgZ d7„Z d8„Z d9„Zd:„Zd;„Zd<„Zd=„Zd>„Zd?„Zd@„ZdA„ZdB„ZdC„ZdD„ZdE„ZRS(Us8build C/C++ extensions (compile/link to build directory)s (separated by '%s')s build-lib=tbs(directory for compiled extension moduless build-temp=tts1directory for temporary files (build by-products)s plat-name=tps>platform name to cross-compile for, if supported (default: %s)tinplacetis=ignore build-lib and put compiled extensions into the source s,directory alongside your pure Python moduless include-dirs=tIs.list of directories to search for header filessdefine=tDsC preprocessor macros to definesundef=tUs!C preprocessor macros to undefines libraries=tls!external C libraries to link withs library-dirs=tLs.directories to search for external C librariessrpath=tRs7directories to search for shared C libraries at runtimes link-objects=tOs2extra explicit link objects to include in the linktdebugtgs'compile/link with debugging informationtforcetfs2forcibly build everything (ignore file timestamps)s compiler=tcsspecify the compiler typesswig-cpps)make SWIG create C++ files (default is C)s swig-opts=s!list of SWIG command line optionssswig=spath to the SWIG executabletusers#add user include, library and rpaths help-compilerslist available compilerscCs¸d|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_d|_d|_d|_d|_d|_dS(Ni(tNonet extensionst build_libt plat_namet build_tempRtpackaget include_dirstdefinetundeft librariest library_dirstrpatht link_objectsRRtcompilertswigtswig_cppt swig_optsR (tself((s3/usr/lib64/python2.7/distutils/command/build_ext.pytinitialize_optionsls(                   c Csãddlm}|jdd/d0d1d2d3d4ƒ|jdkrP|jj|_n|jj|_|j ƒ}|j d d ƒ}|j dkr¤|jj p›g|_ nt |j t ƒrÑ|j j tjƒ|_ n|j j|ƒ||kr|j j|ƒn|jd ƒ|jdkr(g|_n|jdkrCg|_n3t|jƒtkrvtj |jtjƒ|_n|jdkr‘g|_n3t|jƒtkrÄtj |jtjƒ|_ntjd krc|jjtjjtjdƒƒ|jrtjj|jdƒ|_ntjj|jdƒ|_|j jtjjtjdƒƒtdkrÓ|j dkr}d}n |j d}tjjtjdƒ}|rÀtjj||ƒ}n|jj|ƒqctdkr|jjtjjtjddƒƒqctdkr;|jjtjjtjddƒƒqc|jjtjjtjddƒƒntjdkr—|jjtjjtjdƒƒntj!d dks½tj!d d kr&tj"j#tjjtjd!ƒƒr|jjtjjtj$d"d#t%ƒd$ƒƒq&|jjd%ƒn|j&d&ƒtj!j#d'ƒsitj!j#d(ƒsitj!j#d)ƒrË|j&d&ƒrËtj"j#tjjtjd!ƒƒr¸|jj|j&d*ƒƒqË|jjd%ƒn|j'rþ|j'j d+ƒ}t(d,„|ƒ|_'n|j)r|j)j d+ƒ|_)n|j*dkr:g|_*n|j*j d-ƒ|_*|j+rßtjjt,d.ƒ}tjjt,d"ƒ}tjj-|ƒr§|j j|ƒntjj-|ƒrß|jj|ƒ|jj|ƒqßndS(5Niÿÿÿÿ(t sysconfigtbuildR#R%R.RRR$t plat_specificiR*R tlibstDebugtReleasetPCi twin32titPCbuildisVS8.0isVS7.1tVC6tos2tConfigitcygwintatheostbintlibtpythontconfigt.tPy_ENABLE_SHAREDtlinuxtgnutsunostLIBDIRt,cSs |dfS(Nt1((tsymbol((s3/usr/lib64/python2.7/distutils/command/build_ext.pytþst tinclude(s build_libs build_lib(s build_temps build_temp(scompilerscompiler(sdebugsdebug(sforcesforce(s plat_names plat_name(.t distutilsR4tset_undefined_optionsR&R!t distributiont ext_packaget ext_modulesR"tget_python_incR't isinstancetstrtsplittostpathseptappendtensure_string_listR*R+ttypet StringTypetstringR,tnametpathtjointsyst exec_prefixRR%t MSVC_VERSIONR$tplatformt executablet startswithtprefixRtget_config_varR(tmapR)R1R Rtisdir( R2R4t py_includetplat_py_includetsuffixtnew_libtdefinest user_includetuser_lib((s3/usr/lib64/python2.7/distutils/command/build_ext.pytfinalize_optionsƒs¨       " "     %&$   $$    c Csddlm}|jsdS|jjƒrm|jdƒ}|jj|jƒpSgƒ|j j |j ƒn|d|j d|j d|jd|jƒ|_ t|j ƒtjdkrá|jtƒkrá|j j|jƒn|jdk r|j j|jƒn|jdk rEx-|jD]\}}|j j||ƒqWn|jdk r{x$|jD]}|j j|ƒq^Wn|jdk r |j j|jƒn|j dk rÅ|j j|j ƒn|jdk rê|j j |jƒn|j!dk r|j j"|j!ƒn|j#ƒdS( Niÿÿÿÿ(t new_compilert build_clibR.tverbosetdry_runRR ($R RxR"RUthas_c_librariestget_finalized_commandR*textendtget_library_namesR+R^RyR.RzR{RRR\RcR$Rt initializeR'R!tset_include_dirsR(t define_macroR)tundefine_macrot set_librariestset_library_dirsR,tset_runtime_library_dirsR-tset_link_objectstbuild_extensions(R2RxRyRctvaluetmacro((s3/usr/lib64/python2.7/distutils/command/build_ext.pytruns>    !c Cs!t|tƒstd‚nxÿt|ƒD]ñ\}}t|tƒrIq(nt|tƒ skt|ƒdkrwtd‚n|\}}tjd|ƒt|t ƒo¯t j |ƒs¾td‚nt|t ƒsÙtd‚nt||dƒ}x<dD]4}|j |ƒ}|dk rót|||ƒqóqóW|j dƒ|_d|krYtjdƒn|j dƒ}|rg|_g|_xŒ|D]�} t| tƒo«t| ƒdksºtd‚nt| ƒdkrã|jj| dƒq‡t| ƒdkr‡|jj| ƒq‡q‡Wn||||j|jƒg}x!|jD]}|j|jƒq W|S(N(R¥R"R~RŒ(R2t filenamesR ((s3/usr/lib64/python2.7/distutils/command/build_ext.pytget_source_files£s cCsG|j|jƒg}x*|jD]}|j|j|jƒƒq W|S(N(R¥R"R^tget_ext_fullpathRc(R2toutputsR ((s3/usr/lib64/python2.7/distutils/command/build_ext.pyt get_outputs­s cCs5|j|jƒx|jD]}|j|ƒqWdS(N(R¥R"tbuild_extension(R2R ((s3/usr/lib64/python2.7/distutils/command/build_ext.pyRˆ»sc Csþ|j}|dks-t|ƒttfkrHtddd|j‚nt|ƒ}|j|jƒ}||j }|j p‹t ||dƒs¥t j d|jƒdSt jd|jƒ|j||ƒ}|jpÖg}|j}x!|jD]}|j|fƒqíW|jj|d|jd|d |jd |j d |d |j ƒ}||_|jro|j|jƒn|jp{g}|jp–|jj|ƒ} |jj||d |j|ƒd|j d|j!d |d|j"|ƒd |j d|jd| ƒdS(Ns*in 'ext_modules' option (extension '%s'), s&'sources' must be present and must be sa list of source filenamestnewers$skipping '%s' extension (up-to-date)sbuilding '%s' extensiont output_dirR‘R'Rtextra_postargstdependsR*R+R�texport_symbolsR%t target_lang(#RŒR!R`tListTypet TupleTypeR“RcR’R¨R¯RRR Rtinfot swig_sourcesRŽRžRŸR^R.tcompileR%R't_built_objectsR�R~R�tlanguagetdetect_languagetlink_shared_objectt get_librariesR+R�tget_export_symbols( R2R RŒtext_pathR¯t extra_argsR‘R)tobjectsR¸((s3/usr/lib64/python2.7/distutils/command/build_ext.pyR«ÂsN $              c Cs£g}g}i}|jr+tjdƒn|jsRd|jksRd|jkr[d}nd}xr|D]j}tjj|ƒ\}} | dkrÅ|j|d|ƒ|j|ƒ|d||          cCs�tjdkrdStjdkrixgd D]5}tjjd|dƒ}tjj|ƒr)|Sq)WdSn#tjd kr|dStd tj‚d S( s›Return the name of the SWIG executable. On Unix, this is just "swig" -- it should be in the PATH. Tries a bit harder on Windows. tposixR/R s1.3s1.2s1.1s c:\swig%ssswig.exeR?s>I don't know how to find (much less run) SWIG on platform '%s'N(s1.3s1.2s1.1(R\RcRdRetisfiletDistutilsPlatformError(R2tverstfn((s3/usr/lib64/python2.7/distutils/command/build_ext.pyRÂOs c Csútjdtjdƒ}|j|ƒ}|j|ƒ}|jdƒ}|j|ƒ}tjj|ƒd}|j s§tjj |d |gŒ}tjj |j |ƒSdj |dd!ƒ}|j dƒ}tjj |j|ƒƒ}tjj ||ƒS(s¡Returns the path of the filename for a given extension. The file is located in `build_lib` or directly in the package (inplace option). t/s..RGiÿÿÿÿitbuild_py(Rbt maketransR\tsept translatetget_ext_fullnameR[tget_ext_filenameRdRReR#R}tabspathtget_package_dir( R2R¡tall_dotstfullnametmodpathtfilenameR&RÓt package_dir((s3/usr/lib64/python2.7/distutils/command/build_ext.pyR¨ps cCs&|jdkr|S|jd|SdS(sSReturns the fullname of a given extension name. Adds the `package.` prefixRGN(R&R!(R2R¡((s3/usr/lib64/python2.7/distutils/command/build_ext.pyR×�scCs½ddlm}tj|dƒ}tjdkrZ|t|ƒdd |t|ƒds$0