mò &U²Ic@s0dZdklZdZdkZdkZdkZdkTdkl Z dk l Z dk l Z dklZd klZd klZlZlZd klZd klZeid jo7hdd<dd<dd<dd<dd„Zd?efd@efdAefdBefgZRS(SNs'install everything from build directorysprefix=sinstallation prefixs exec-prefix=s.(Unix only) prefix for platform-specific filesshome=s+(Unix only) home directory to install unders install-base=s;base installation directory (instead of --prefix or --home)sinstall-platbase=s8base installation directory for platform-specific files s$(instead of --exec-prefix or --home)sroot=s<install everything relative to this alternate root directorysinstall-purelib=s;installation directory for pure Python module distributionssinstall-platlib=s8installation directory for non-pure module distributionss install-lib=s4installation directory for all module distributions s3(overrides --install-purelib and --install-platlib)sinstall-headers=s(installation directory for C/C++ headerssinstall-scripts=s)installation directory for Python scriptss install-data=s%installation directory for data filestcompiletcscompile .py to .pyc [default]s no-compilesdon't compile .py filess optimize=tOslalso compile with optimization: -O1 for "python -O", -O2 for "python -OO", and -O0 to disable [default: -O0]tforcetfs1force installation (overwrite any existing files)s skip-builds2skip rebuilding everything (for testing/debugging)srecord=s3filename in which to record list of installed filescCsÊd|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_dS(Nii(tNonetselftprefixt exec_prefixthomet install_basetinstall_platbasetroottinstall_purelibtinstall_platlibtinstall_headerst install_libtinstall_scriptst install_dataR toptimizet extra_pathtinstall_path_fileRt skip_buildtwarn_dirt build_baset build_libtrecord(R((t6/data/zmath/lib/python2.4/distutils/command/install.pytinitialize_optionss,                    cCsë|ip|ip |io%|ip |iotdd‚n|io!|ip |io td‚ntidjo(|io|i dƒd|_q¦n|i dƒtidjo|i ƒn |i ƒ|i dƒtitiƒd}td d ƒ\}}hd |iiƒ<d |iiƒ<d |iiƒ<d|<d|dd!<d|<d |<d|<d |<|_|iƒ|i dƒ|i|id<|i|id}d|}t||ƒdjot ||||ƒqqWdS(Ntinstall_( tINSTALL_SCHEMESR8tschemet SCHEME_KEYStkeytattrnameR`RRtsetattr(RR8RkRjRh((R'Rb¥s   cCs}xv|D]n}t||ƒ}|dj oLtidjotii |ƒ}nt ||i ƒ}t |||ƒqqWdS(NR)( tattrstattrR`RRaRR7R8ROt expandusert subst_varsRFRl(RRmRnRa((R't _expand_attrs®s cCs|idddgƒdS(NRRR(RRq(R((R'RG¸scCs#|iddddddgƒdS(NRRRRRR(RRq(R((R'RJ½scGs>x7|D]/}d|}t||tt||ƒƒƒqWdS(NRf(tnamesR8RnRlRt convert_pathR`(RRrRnR8((R'RLÆs cCsô|idjo|ii|_n|idj oŸt|iƒtjoti|idƒ|_nt|iƒdjo|id}}n3t|iƒdjo|i\}}n t d‚t |ƒ}n d}d}||_ ||_ dS(Nt,iiisY'extra_path' option must be a list, tuple, or comma-separated string with 1 or 2 elementst( RR RRBttypet StringTypeR=R>tlent path_fileRQR6Rs(RRQRy((R'RMÌs  c GsDx=|D]5}d|}t||t|it||ƒƒƒqWdS(NRf(RrR8RnRlRt change_rootRR`(RRrRnR8((R'RRîs cCsu|ip|idƒnx!|iƒD]}|i|ƒq(W|io|iƒn|io|iƒ}|i oBt |i ƒ}x0t t |ƒƒD]}|||||