• File: build.cpython-37.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python37/lib64/python3.7/distutils/command/__pycache__/build.cpython-37.pyc
  • Date Modified: 10/26/2026 8:08 PM
  • File size: 3.75 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit
B

Mj@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/python37/lib64/python3.7/distutils/command/build.pyrsrc@seZdZdZdddddddd	d
efddd
ddgZddgZdddefgZddZ	ddZ
ddZddZddZ
dd Zd!d"Zd#efd$e
fd%efd&efgZdS)'buildz"build everything needed to install)zbuild-base=bz base directory for build library)zbuild-purelib=Nz2build directory for platform-neutral distributions)zbuild-platlib=Nz3build directory for platform-specific distributions)z
build-lib=NzWbuild directory for all distribution (defaults to either build-purelib or build-platlib)zbuild-scripts=Nzbuild directory for scripts)zbuild-temp=tztemporary build directoryz
plat-name=pz6platform name to build for, if supported (default: %s))z	compiler=czspecify the compiler type)z	parallel=jznumber of parallel build jobs)debuggz;compile extensions and libraries with debugging information)forcefz2forcibly build everything (ignore file timestamps))zexecutable=ez5specify final destination interpreter path (build.py)rrz
help-compilerNzlist available compilerscCsLd|_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_options8szbuild.initialize_optionscCsb|jdkrt|_ntjdkr&tdd|jftjdd}ttdrR|d7}|jdkrntj	
|jd|_|jdkrtj	
|jd||_|j
dkr|jjr|j|_
n|j|_
|jdkrtj	
|jd||_|jdkrtj	
|jd	tjdd|_|jdkr tjr tj	tj|_t|jtr^yt|j|_Wntk
r\td
YnXdS)NntzW--plat-name only supported on Windows (try using './configure --help' on your platform)z	.%s-%d.%dZgettotalrefcountz-pydebuglibZtempz
scripts-%d.%dzparallel should be an integer)rrosnamersysversion_infohasattrrpathjoinrrrdistributionZext_modulesrrrnormpath
isinstancerstrint
ValueError)rZplat_specifierrrrfinalize_optionsHs<












zbuild.finalize_optionscCs x|D]}||q
WdS)N)Zget_sub_commandsZrun_command)rZcmd_namerrrrunsz	build.runcCs
|jS)N)r(has_pure_modules)rrrrr0szbuild.has_pure_modulescCs
|jS)N)r(has_c_libraries)rrrrr1szbuild.has_c_librariescCs
|jS)N)r(has_ext_modules)rrrrr2szbuild.has_ext_modulescCs
|jS)N)r(has_scripts)rrrrr3szbuild.has_scriptsZbuild_pyZ
build_clibZ	build_extr)__name__
__module____qualname__ZdescriptionrZuser_optionsZboolean_optionsrZhelp_optionsrr.r/r0r1r2r3Zsub_commandsrrrrrs:
8r)__doc__r#r!Zdistutils.corerZdistutils.errorsrZdistutils.utilrrrrrrr<module>s