ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvipdf.pyc in qrscanner-0.3.1 vs ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvipdf.pyc in qrscanner-0.4

- old
+ new

@@ -1,32 +1,33 @@ - -qLc @sdZdZddkZddkZddkZddkZddkZeii i + +qLc@sdZdZddlZddlZddlZddlZddlZejj j Z ddddZ ddddZ ddddZdadadZdZd ZdS( sSCons.Tool.dvipdf Tool-specific initialization for dvipdf. There normally shouldn't be any need to import this module directly. It will usually be imported through the generic SCons.Tool.Tool() selection method. -s>src/engine/SCons/Tool/dvipdf.py 5023 2010/06/14 22:05:46 sconsiNcCsy|dii}Wntj -o d}nXtiii|d|}||||}|tjo)y|dd=Wqtj -oqXn||dd<|S(skA builder for DVI files that sets the TEXPICTS environment +s>src/engine/SCons/Tool/dvipdf.py 5023 2010/06/14 22:05:46 sconsiNcCsy|djj}Wntk +r-d}nXtjjj|d|}||||}|tkry|dd=Wqtk +rqXn||dd<|S(skA builder for DVI files that sets the TEXPICTS environment variable before running dvi2ps or dvipdf.ittTEXPICTStENV( t -attributestpathtAttributeErrortSConstScannertLaTeXtmodify_env_vart_nulltKeyError(t XXXDviActionttargettsourcetenvtabspatht saved_envtresult((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvipdf.pytDviPdfPsFunction+s   cCstt|||}|S(N(Rt PDFAction(R RRR((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvipdf.pytDviPdfFunctionBscCs6|ido|idd||}nd}|S(saA strfunction for dvipdf that returns the appropriate +attributestpathtAttributeErrortSConstScannertLaTeXtmodify_env_vart_nulltKeyError(t XXXDviActionttargettsourcetenvtabspatht saved_envtresult((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvipdf.pytDviPdfPsFunction+s  +  cCstt|||}|S(N(Rt PDFAction(R RRR((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvipdf.pytDviPdfFunctionBscCs4|jdr*|jdd||}nd}|S(saA strfunction for dvipdf that returns the appropriate command string for the no_exec options.tno_execs -$DVIPDFCOMiR(t GetOptiontsubst(R RRR((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvipdf.pytDviPdfStrFunctionFscCs(d}tt||}||fS(sStrips any .aux or .log files from the input source list. +$DVIPDFCOMiR(t GetOptiontsubst(R RRR((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvipdf.pytDviPdfStrFunctionFscCs(d}tt||}||fS(sStrips any .aux or .log files from the input source list. These are created by the TeX Builder that in all likelihood was used to generate the .dvi file we're using as input, and we only care about the .dvi file. - cSs tiit|ddjS(Nis.auxs.log(s.auxs.log(RtUtiltsplitexttstr(tn((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvipdf.pytstrip_suffixesXs(tlisttfilter(R RRR((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvipdf.pyt -PDFEmitterRs cCstdjotiiddantdjotiitdtanddk}|i||dd}|i dt|i + cSs tjjt|ddkS(Nis.auxs.log(s.auxs.log(RtUtiltsplitexttstr(tn((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvipdf.pytstrip_suffixesXs(tlisttfilter(R RRR((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvipdf.pyt +PDFEmitterRs cCstdkr$tjjddantdkrKtjjtdtanddl}|j||dd}|j dt|j dt d |d -<ti i d |d <d |d<dg|d<dS(sEAdd Builders and construction variables for dvipdf to an Environment.s +<tj j d |d <d |d<dg|d<dS(sEAdd Builders and construction variables for dvipdf to an Environment.s $DVIPDFCOMs $DVIPDFCOMSTRt strfunctioniNtBUILDERStPDFs.dvitdvipdftDVIPDFRt DVIPDFFLAGSsFcd ${TARGET.dir} && $DVIPDF $DVIPDFFLAGS ${SOURCE.file} ${TARGET.file}t DVIPDFCOMtPDFCOM(RtNoneRtActiont DVIPDFActionRRtpdftgeneratet -add_actiont add_emitterR!RtCLVar(RR-tbld((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvipdf.pyR.]s     +add_actiont add_emitterR!RtCLVar(RR-tbld((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvipdf.pyR.]s      -cCs |idS(NR%(tDetect(R((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvipdf.pytexistsus(t__doc__t __revision__t SCons.ActionRtSCons.DefaultstSCons.Tool.pdftSCons.Tool.text +cCs |jdS(NR%(tDetect(R((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvipdf.pytexistsus(t__doc__t __revision__t SCons.ActionRtSCons.DefaultstSCons.Tool.pdftSCons.Tool.text SCons.UtilRRR R*RRRRR,R!R.R4(((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvipdf.pyt<module> s        \ No newline at end of file