add-determinism 0.7.3

RPM buildroot helper to strip nondeterministic bits in files
Documentation
�

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

Implements the Distutils 'build' command.�N)�Command)�DistutilsOptionError)�get_platformc�"�ddlm}|�dS)Nr��show_compilers)�distutils.ccompilerrrs �0/usr/lib64/python3.12/distutils/command/build.pyrrs%��2�2�2�2�2�2��N�����c��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=�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)�debug�gz;compile extensions and libraries with debugging information)�force�fz2forcibly build everything (ignore file timestamps))zexecutable=�ez5specify final destination interpreter path (build.py)rrz
help-compilerNzlist available compilersc��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_scripts�compiler�	plat_namerr�
executable�parallel��selfs r
�initialize_optionszbuild.initialize_options8s_��!���"���!���������!�����
������
���
������
�
�
rc���|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)N�ntzW--plat-name only supported on Windows (try using './configure --help' on your platform)z	.%s-%d.%d��gettotalrefcountz-pydebug�lib�tempz
scripts-%d.%dzparallel should be an integer)r r�os�namer�sys�version_info�hasattrr�path�joinrrr�distribution�ext_modulesrrr!�normpath�
isinstancer"�str�int�
ValueError)r$�plat_specifiers  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:c�T�|j�D]}|j|��dS�N)�get_sub_commands�run_command)r$�cmd_names  r
�runz	build.run�s:���-�-�/�	'�	'�H����X�&�&�&�	'�	'rc�8�|jj�Sr=)r3�has_pure_modulesr#s r
rCzbuild.has_pure_modules�s��� � �1�1�3�3rc�8�|jj�Sr=)r3�has_c_librariesr#s r
rEzbuild.has_c_libraries����� � �0�0�2�2rc�8�|jj�Sr=)r3�has_ext_modulesr#s r
rHzbuild.has_ext_modules�rFrc�8�|jj�Sr=)r3�has_scriptsr#s r
rJzbuild.has_scripts�s��� � �,�,�.�.r�build_py�
build_clib�	build_extr)�__name__�
__module__�__qualname__�descriptionr�user_options�boolean_optionsr�help_optionsr%r;rArCrErHrJ�sub_commands�rr
r
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
)�__doc__r.r,�distutils.corer�distutils.errorsr�distutils.utilrrr
rVrr
�<module>r[s���-�-���������"�"�"�"�"�"�1�1�1�1�1�1�'�'�'�'�'�'����
M�M�M�M�M�G�M�M�M�Mr