add-determinism 0.7.3

RPM buildroot helper to strip nondeterministic bits in files
Documentation
�

�Wc�cs\�dZddlZddlZddlmZddlmZddlmZd�Z	Gd�de�Z
dS)	zBdistutils.command.build

Implements the Distutils 'build' command.�N)�Command)�DistutilsOptionError)�get_platformcs"�ddlm}|�dS)Nr��show_compilers)Zdistutils.ccompilerrr� �0/usr/lib64/python3.12/distutils/command/build.pyrrs%��2�2�2�2�2�2��N�����cs��eZdZdZdddddddd	d
e�zfddd
ddgZddgZdddefgZd�Z	d�Z
d�Zd�Zd�Z
d�Zd�Zdefde
fdefdefgZdS) �buildz"build everything needed to install)zbuild-base=Zbz 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=Ztztemporary build directoryz
plat-name=Zpz6platform name to build for, if supported (default: %s))z	compiler=Zczspecify the compiler type)z	parallel=Zjznumber of parallel build jobs)�debugZgz;compile extensions and libraries with debugging information)�forceZfz2forcibly build everything (ignore file timestamps))zexecutable=Zez5specify final destination interpreter path (build.py)r
rz
help-compilerNzlist available compilerscs��d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_	d|_
d|_dS)Nr	r)�
build_base�
build_purelib�
build_platlib�	build_lib�
build_temp�
build_scriptsZcompiler�	plat_namer
r�
executable�parallel��selfrr�initialize_optionszbuild.initialize_options8s_��!���"���!���������!�����
������
���
������
�
�
rcs��|j�t�|_n"tjdkr
t	d��d|jgt
jdd�Rz}tt
d�r|dz
}|j�1tjj|jd�|_|j�4tjj|jd|z�|_|j�9|jjr|j|_
n|j|_
|j �4tjj|jd|z�|_|j"�Ftjj|jd	t
jddz�|_|j$�Ft
j$r5tjj't
j$�|_t)|j*t,�r	t/|j*�|_dSdS#t0$rt	d
��wxYw)NZntzW--plat-name only supported on Windows (try using './configure --help' on your platform)z	.%s-%d.%diZgettotalrefcountz-pydebugZlibZtempz
scripts-%d.%dzparallel should be an integer)rr�osZnamer�sysZversion_infoZhasattrr
ZpathZjoinrrr�distributionZext_modulesrrrZnormpathZ
isinstancerZstrZintZ
ValueError)rZplat_specifier�  r�finalize_optionszbuild.finalize_optionsHs���>�>�!�)�^�D�N�N�
�w�w�$���*�K�L�L�%����'N��9I�9I�"�1�9M�'N�'N�N��
�3�*�+�+��j�(�N�
���%�!#�����d�o�o�u�!E�D�����%�!#�����d�o�o�.3�n�.D�"F�D���>�>�!�� � �,�,�,�!%�!3�!3����!%�!3�!3����?�?�"� �g�g�l�l�4�?�?�+1�N�+B�D�D�O����%�!#�����d�o�o�.=��@P�@P�QS�RS�@T�.T�"V�D���?�?�"�s�~�~�~� �g�g�.�.�s�~�~�>�D�O��d�m�m�S�)�)�
L� #�D�M�M� 2��
�
�
�*�)���
L�
L�
L�*�+J�K�K�
L���s�I"�"I:csT�|j�D]}|j|��dS�N)Zget_sub_commandsZrun_command)rZcmd_namerr�runz	build.run�s:���-�-�/�	'�	'�H����X�&�&�&�	'�	'rc�8�|jj�Sr)r�has_pure_modulesrrrr zbuild.has_pure_modules�s��� � �1�1�3�3rcrr)r�has_c_librariesrrrr!zbuild.has_c_libraries����� � �0�0�2�2rcrr)r�has_ext_modulesrrrr#zbuild.has_ext_modules�r"rcrr)r�has_scriptsrrrr$zbuild.has_scripts�s��� � �,�,�.�.rZbuild_pyZ
build_clibZ	build_extr)Z__name__Z
__module__Z__qualname__ZdescriptionrZuser_optionsZboolean_optionsrZhelp_optionsrrrr r!r#r$Zsub_commands�rrr	r	s*������6�K�	-�	?�	@�	+�	(�	&�	�s�
�'�<�>�
*�	+�	&�	*�	H�	?�	B�3
�L�:��(�O�
�$�	#�^�	5�
�L�
��� 6L�6L�6L�p'�'�'�4�4�4�3�3�3�3�3�3�/�/�/� �&6�7�!�o�6� �o�6�$�k�2��L�L�Lrr	)Z__doc__rrZdistutils.corerZdistutils.errorsrZdistutils.utilrrr	r%rr�<module>r&s���-�-���������"�"�"�"�"�"�1�1�1�1�1�1�'�'�'�'�'�'����
M�M�M�M�M�G�M�M�M�Mr