MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 FrontPage/5.0.2.2635
System: Linux server.asjudinet.com 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 i686
User: asjudine (504)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //proc/2/cwd/usr/lib/python2.4/site-packages/setuptools/command/build_py.pyc
mò
Èk8Hc@sedkZdkZdkZdklZdklZdk	l	Z	defd„ƒYZd„Z
dS(N(sbuild_py(sconvert_path(sglobtbuild_pycBs‘tZdZd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
eid	jod
d„Z
nd„Zd
„Zd„ZRS(sXEnhanced 'build_py' command that includes data files with packages

    The data files are specified via a 'package_data' argument to 'setup()'.
    See 'setuptools.dist.Distribution' for more details.

    Also, this version of the 'build_py' command allows you to specify both
    'py_modules' and 'packages' in the same setup operation.
    cCsTti|ƒ|ii|_|iiph|_d|ijo|id=ndS(Nt
data_files(t	_build_pytfinalize_optionstselftdistributiontpackage_datatexclude_package_datat__dict__(R((t?/usr/lib/python2.4/site-packages/setuptools/command/build_py.pyRs

cCsx|io|iodSn|io|iƒn|io|iƒ|iƒn|iti|ddƒƒdS(s?Build modules, packages, and copy data files to build directoryNtinclude_bytecodei(	Rt
py_modulestpackagest
build_modulestbuild_packagestbuild_package_datatbyte_compileRtget_outputs(R((R	truns


cCs8|djo|iƒ|_}|Snti||ƒS(NR(tattrRt_get_data_filesRtfilesRt__getattr__(RRR((R	R%s
c	Cs½|iƒg}x¦|ipfD]”}|i|ƒ}tii	|i
g|idƒŒ}t
|ƒd}g}|i||ƒD]}|||q‚~}|i||||fƒq!W|S(s?Generate list of '(package,src_dir,build_dir,filenames)' tuplest.iN(Rtanalyze_manifesttdataRtpackagetget_package_dirtsrc_dirtostpathtjoint	build_libtsplitt	build_dirtlentplent_[1]tfind_data_filestfilet	filenamestappend(	RRRR"R(R%R'R$R((R	R*s
%1cCsŠ|iidgƒ|ii|gƒ}|ii|gƒ}x6|D].}|it	t
ii|t|ƒƒƒƒqEW|i|||ƒS(s6Return filenames for package's data files in 'src_dir'tN(RRtgetRtglobstmanifest_filesRtpatterntextendtglobRRRRtconvert_pathtexclude_data_files(RRRRR.R,((R	R&?s(,cCsˆd}x{|iD]p\}}}}x[|D]S}t	i
i||ƒ}|i
t	i
i|ƒƒ|it	i
i||ƒ|ƒq)WqWdS(s$Copy data files into build directoryN(tNonetlastdirRRRRR"R(tfilenameRRRttargettmkpathtdirnamet	copy_file(RR6RR"R(RR4R5((R	RIs
cCskh|_}|iipdSnh}x1|ipfD]}||t|i	|ƒƒ<q9W|i
dƒ|idƒ}xì|i
iD]Þ}	tiit|	ƒƒ\}}d}
|}xY|oQ||
joD||jo7|}
tii|ƒ\}}tii||ƒ}q¸W||joE|	idƒo||joq…n|i||gƒi|	ƒq…q…WdS(Ntegg_infos.py(RR-tmfRtinclude_package_datatsrc_dirsRRtassert_relativeRtrun_commandtget_finalized_commandtei_cmdtfilelistRRRR!tdtfR3tprevtoldftdfRtendswitht
setdefaultR)(RR=R;RCRDRARGRRFRRE((R	RSs.



!
cCsdS(N((R((R	tget_data_fileskss2.4icCsZti||ƒg}|iD]5\}}}}|D]}|tii
||ƒq3q~S(sjReturn complete list of files copied to the build directory

            This includes both '.py' files and data files, as well as '.pyc'
            and '.pyo' files if 'include_bytecode' is true.  (This method is
            needed for the 'install_lib' command to do its job properly, and to
            generate a correct installation manifest.)
            N(RRRR
R%RRRR"R(R5RRR(RR
RR"R(R%RR5((R	RnscCs÷y|i|SWntj
onXti|||ƒ}||i|<|p|ii	o|Snx>|ii	D],}||jp|i|dƒoPqrqrW|St|dƒ}d|iƒjo!dkl}|id|ƒn|iƒ|S(s8Check namespace packages' __init__ for declare_namespaceRtrUtdeclare_namespace(slogs¼WARNING: %s is a namespace package, but its __init__.py does
not declare_namespace(); setuptools 0.7 will REQUIRE this!
(See the setuptools manual under "Namespace Packages" for details.)
N(Rtpackages_checkedRtKeyErrorRt
check_packagetpackage_dirtinit_pyRtnamespace_packagestpkgt
startswithtopenRDtreadt	distutilstlogtwarntclose(RRRPRDRXRQRS((R	RO|s*

!	
	
cCsh|_ti|ƒdS(N(RRMRtinitialize_options(R((R	R[›s	c
CsÒ|iidgƒ|ii|gƒ}	g}x<|	D]4}|iti	|tii
|t|ƒƒƒƒq5Wti|ƒ}h}g}|D]>}||jo+||jo|i|dƒo||qq~S(s6Filter filenames for package's data files in 'src_dir'R*iN(RRR+RR,tbadR.R/tfnmatchtfilterRRRRRR1tdicttfromkeystseenR%RDRI(
RRRRR.RDR%R\RaR,((R	R2¥s(2(t__name__t
__module__t__doc__RRRRR&RRRJtsystversionRROR[R2(((R	Rs					
	
				
cCs<tii|ƒp|Sndkl}|d|ƒ‚dS(N(sDistutilsSetupErrorsªError: setup script specifies an absolute path:

    %s

setup() arguments must *always* be /-separated paths relative to the
setup.py directory, *never* absolute paths.
(RRtisabstdistutils.errorstDistutilsSetupError(RRi((R	R>¸s
(tos.pathRReR]tdistutils.command.build_pyRRtdistutils.utilR1R0R>(R1R>RR0ReRR]R((R	t?s



²