Viewing File: /opt/alt/python35/lib64/python3.5/distutils/command/__pycache__/build.cpython-35.opt-1.pyc



Yfc@stdZddlZddlZddlmZddlmZddlmZddZ	Gdd	d	eZ
dS)
zBdistutils.command.build

Implements the Distutils 'build' command.N)Command)DistutilsOptionError)get_platformcCsddlm}|dS)Nr)show_compilers)Zdistutils.ccompilerr)rr</opt/alt/python35/lib64/python3.5/distutils/command/build.pyrsrc@seZdZdZd8d9d:d
dddfd;d<dddefd=d>d?d@dAgZddgZd$dd%efgZd&d'Z	d(d)Z
d*d+Zd,d-Zd.d/Z
d0d1Zd2d3Zd4efd5e
fd6efd7efgZdS)Bbuildz"build everything needed to installbuild-base=b base directory for build librarybuild-purelib=N2build directory for platform-neutral distributionsbuild-platlib=3build directory for platform-specific distributionsz
build-lib=z9build directory for all distribution (defaults to either zbuild-purelib or build-platlibbuild-scripts=build directory for scriptsbuild-temp=ttemporary build directoryz
plat-name=pz6platform name to build for, if supported (default: %s)	compiler=cspecify the compiler type	parallel=jnumber of parallel build jobsdebugg;compile extensions and libraries with debugging informationforcef2forcibly build everything (ignore file timestamps)executable=e5specify final destination interpreter path (build.py)z
help-compilerzlist available compilerscCspd|_d|_d|_d|_d|_d|_d|_d|_d|_d|_	d|_
d|_dS)Nrr)
build_base
build_purelib
build_platlib	build_lib
build_temp
build_scriptsZcompiler	plat_namerr
executableparallel)selfrrrinitialize_options8s											zbuild.initialize_optionscCs|jdkrt|_ntjdkr9tdd|jtjddf}ttdrr|d7}|jdkrtj	j
|jd|_|jdkrtj	j
|jd||_|j
dkr|jjr|j|_
n|j|_
|jdkr.tj	j
|jd	||_|jdkritj	j
|jd
tjdd|_|jdkrtj	jtj|_t|jtryt|j|_Wntk
rtdYnXdS)NntzW--plat-name only supported on Windows (try using './configure --help' on your platform)z.%s-%srgettotalrefcountz-pydebuglibZtempzscripts-zparallel should be an integer)r+rosnamersysversionhasattrr&pathjoinr%r'r(distributionZext_modulesr)r*r,normpath
isinstancer-strint
ValueError)r.Zplat_specifierrrrfinalize_optionsHs<	 

zbuild.finalize_optionscCs(x!|jD]}|j|q
WdS)N)Zget_sub_commandsZrun_command)r.Zcmd_namerrrrunsz	build.runcCs
|jjS)N)r;has_pure_modules)r.rrrrCszbuild.has_pure_modulescCs
|jjS)N)r;has_c_libraries)r.rrrrDszbuild.has_c_librariescCs
|jjS)N)r;has_ext_modules)r.rrrrEszbuild.has_ext_modulescCs
|jjS)N)r;has_scripts)r.rrrrFszbuild.has_scriptsZbuild_pyZ
build_clibZ	build_extr*)r	r
r)rNr
)rNr)rNr)rrr)rrr)rrr)rrr)rr r!)r"r#r$)__name__
__module____qualname__ZdescriptionrZuser_optionsZboolean_optionsrZhelp_optionsr/rArBrCrDrErFZsub_commandsrrrrrsR
	8			r)__doc__r6r4Zdistutils.corerZdistutils.errorsrZdistutils.utilrrrrrrr<module>s
Back to Directory File Manager