config root man

Current Path : /usr/local/lib/python2.5/distutils/command/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/python2.5/distutils/command/build_clib.pyc

³ò
h”Rc
@s‹dZdZddkZddkZddkTddklZddkTddkl	Z	ddk
lZd„Zd	efd
„ƒYZ
dS(s´distutils.command.build_clib

Implements the Distutils 'build_clib' command, to build a C/C++ library
that is included in the module distribution and needed by an extension
module.s6$Id: build_clib.py 37828 2004-11-10 22:23:15Z loewis $iÿÿÿÿN(t*(tCommand(tcustomize_compiler(tlogcCsddkl}|ƒdS(Niÿÿÿÿ(tshow_compilers(tdistutils.ccompilerR(R((s8/usr/local/lib/python2.5/distutils/command/build_clib.pyRst
build_clibcBsƒeZdZdddddgZdd
gZdddefgZd„Zd„Z	d„Z
d„Zd„Zd„Z
d„ZRS(s/build C/C++ libraries used by Python extensionss
build-clibtbs%directory to build C/C++ libraries tos
build-temptts,directory to put temporary build by-productstdebugtgs"compile with debugging informationtforcetfs2forcibly build everything (ignore file timestamps)s	compiler=tcsspecify the compiler types
help-compilerslist available compilerscCsUd|_d|_d|_d|_d|_d|_d|_d|_d|_	dS(Ni(
tNoneRt
build_tempt	librariestinclude_dirstdefinetundefR	Rtcompiler(tself((s8/usr/local/lib/python2.5/distutils/command/build_clib.pytinitialize_options9s								cCs¬|idddd	d
dƒ|ii|_|io|i|iƒn|idjo|iipg|_nt|iƒtjoti	|it
iƒ|_ndS(NtbuildRRRR	R(s
build_temps
build_clib(s
build_temps
build_temp(scompilerscompiler(sdebugsdebug(sforcesforce(tset_undefined_optionstdistributionRtcheck_library_listRRttypet
StringTypetstringtsplittostpathsep(R((s8/usr/local/lib/python2.5/distutils/command/build_clib.pytfinalize_optionsKs	
cCs
|ipdSnddkl}|d|id|id|iƒ|_t|iƒ|idj	o|ii	|iƒn|i
dj	o1x.|i
D]\}}|ii||ƒq—Wn|idj	o(x%|iD]}|ii
|ƒqØWn|i|iƒdS(Niÿÿÿÿ(tnew_compilerRtdry_runR(RRR"RR#RRRRtset_include_dirsRtdefine_macroRtundefine_macrotbuild_libraries(RR"tnametvaluetmacro((s8/usr/local/lib/python2.5/distutils/command/build_clib.pytrunis$
	


cCst|ƒtj	o
td‚nxß|D]×}t|ƒtj	o t|ƒdjo
td‚nt|dƒtj	otdd‚nd|djp$tidjo-ti|djotdd	|d‚nt|d
ƒtj	otdd‚q'q'Wd
S(s:Ensure that the list of libraries (presumably provided as a
           command option 'libraries') is valid, i.e. it is a list of
           2-tuples, where the tuples are (library_name, build_info_dict).
           Raise DistutilsSetupError if the structure is invalid anywhere;
           just returns otherwise.s+'libraries' option must be a list of tuplesis*each element of 'libraries' must a 2-tupleis+first element of each tuple in 'libraries' s#must be a string (the library name)t/sbad library name '%s': s$may not contain directory separatorsis,second element of each tuple in 'libraries' s!must be a dictionary (build info)N(	RtListTypetDistutilsSetupErrort	TupleTypetlenRRtseptDictionaryType(RRtlib((s8/usr/local/lib/python2.5/distutils/command/build_clib.pyR„s*

&
5cCsC|ipdSng}x$|iD]\}}|i|ƒq"W|S(N(RRtappend(Rt	lib_namestlib_namet
build_info((s8/usr/local/lib/python2.5/distutils/command/build_clib.pytget_library_namesªs

cCs‡|i|iƒg}xj|iD]_\}}|idƒ}|djpt|ƒttfjotd|‚n|i|ƒq W|S(Ntsourcessfin 'libraries' option (library '%s'), 'sources' must be present and must be a list of source filenames(	RRtgetRRR-R/R.textend(Rt	filenamesR6R7R9((s8/usr/local/lib/python2.5/distutils/command/build_clib.pytget_source_files¹s

cCsøxñ|D]é\}}|idƒ}|djpt|ƒttfjotddd|‚nt|ƒ}tid|ƒ|idƒ}|idƒ}|i	i
|d|id|d|d	|iƒ}|i	i
||d|id	|iƒqWdS(
NR9s&in 'libraries' option (library '%s'), s&'sources' must be present and must be sa list of source filenamessbuilding '%s' librarytmacrosRt
output_dirR	(R:RRR-R/R.tlistRtinfoRtcompileRR	tcreate_static_libR(RRR6R7R9R>Rtobjects((s8/usr/local/lib/python2.5/distutils/command/build_clib.pyR'Ës&&		(s
build-clibRs%directory to build C/C++ libraries to(s
build-tempRs,directory to put temporary build by-products(sdebugR
s"compile with debugging information(sforceRs2forcibly build everything (ignore file timestamps)(s	compiler=R
sspecify the compiler typeN(t__name__t
__module__tdescriptiontuser_optionstboolean_optionsRRthelp_optionsRR!R+RR8R=R'(((s8/usr/local/lib/python2.5/distutils/command/build_clib.pyR!s*					&		(t__doc__t__revision__RRttypestdistutils.coreRtdistutils.errorstdistutils.sysconfigRt	distutilsRRR(((s8/usr/local/lib/python2.5/distutils/command/build_clib.pys<module>s

	

Man Man