OwlCyberSecurity - MANAGER
Edit File: build_scripts.cpython-311.opt-2.pyc
� �����/�gX����������������������������� �d�dl�Z�d�dlZd�dlmZ�d�dlmZ�d�dlmZ�d�dlm Z �d�dl mZmZ�d�dlm Z �d�dlZ�ej��������d������������Z�G�d ��d e������������Z�G�d��dee������������ZdS�) �����N)�ST_MODE)� sysconfig)�Command)�newer)�convert_path� Mixin2to3)�logs���^#!.*python[0-9.]*([ ].*)?$c��������������������>�����e�Zd�ZdZg�d�ZdgZd��Zd��Zd��Zd��Z d��Z d S�) � build_scriptsz("build" scripts (copy and fixup #! line)))z build-dir=�dzdirectory to "build" (copy) to)�force�fz1forcibly build everything (ignore file timestamps)zexecutable=�ez*specify final destination interpreter pathr ���c������������������L�����d�|�_���������d�|�_��������d�|�_��������d�|�_��������d�|�_��������d�S��N)� build_dir�scriptsr ���� executable�outfiles��selfs��� �F/opt/alt/python311/lib64/python3.11/distutils/command/build_scripts.py�initialize_optionsz build_scripts.initialize_options���s)�������������� ������ � � �����c������������������X�����|�����������������������dddd�������������|�j��������j��������|�_��������d�S�)N�build)r���r���)r ���r ���)r���r���)�set_undefined_options�distributionr���r���s��� r����finalize_optionszbuild_scripts.finalize_options%���s;�������"�"�7�#A�#5�#?� A�� A�� A���(�0����r���c�����������������������|�j���������S�r���)r���r���s��� r����get_source_fileszbuild_scripts.get_source_files,���s �������|�r���c������������������@�����|�j���������sd�S�|�������������������������������������d�S�r���)r����copy_scriptsr���s��� r����runzbuild_scripts.run/���s)�������|�� ��F��������r���c����������� �������T���� �|�����������������������|�j���������������������g�}g�}|�j��������D��]o}d}t����������|������������}t����������j�����������������������������|�j��������t����������j�����������������������������|������������������������}|���������������������|�������������|�j ��������s&t����������||������������st����������j��������d|��������������� �t����������|d������������}t����������j��������|j��������������������\��}}|���������������������d�������������|�����������������������������������} | s|����������������������d|z����������������� t&�������������������������������| ������������} | rd}| ���������������������d������������pd}n#�t,����������$�r �|�j��������s��d�}Y�nw�xY�w|�r�t����������j��������d ||�j���������������������|���������������������|�������������|�j���������s�t2����������j��������s|�j��������}n[t����������j�����������������������������t3����������j��������d ������������dt3����������j��������d�������������t3����������j��������d ��������������������������}t ����������j��������|������������}d|z���|z���dz���} �| ���������������������d�������������n0#�t>����������$�r#�tA����������d�!��������������������| �������������������������w�xY�w �| ���������������������|�������������n1#�t>����������$�r$�tA����������d�!��������������������| |�������������������������w�xY�wt����������|d������������5�}|�"��������������������| �������������|�#��������������������|�$�����������������������������������������������d�d�d��������������n#�1�swxY�w�Y���|r|�%�������������������������������������.|r|�%�����������������������������������|���������������������|�������������|��&��������������������||���������������qt����������j'��������dk����r~|D�]{}|�j��������rt����������j��������d|��������������t ����������j(��������|������������tR�������������������dz��}|dz��dz��}||k����r,t����������j��������d|||�������������t ����������j*��������||��������������|||fS�)NFznot copying %s (up-to-date)�rbr���z%s is an empty file (skipping)T����r���zcopying and adjusting %s -> %s�BINDIR�python�VERSION�EXEs���#!���� zutf-8z.The shebang ({!r}) is not decodable from utf-8zAThe shebang ({!r}) is not decodable from the script encoding ({})�wb�posixzchanging mode of %si���im��z!changing mode of %s from %o to %o)+�mkpathr���r���r����os�path�join�basename�appendr ���r���r ����debug�open�tokenize�detect_encoding�readline�seek�warn� first_line_re�match�group�OSError�dry_run�infor����python_buildr����get_config_var�fsencode�decode�UnicodeDecodeError� ValueError�format�write� writelines� readlines�close� copy_file�name�statr����chmod)r���r���� updated_files�script�adjust�outfiler����encoding�lines� first_liner=����post_interpr����shebang�outf�file�oldmode�newmodes��� r���r#���zbuild_scripts.copy_scripts5���s������ � � ���D�N�#�#�#���� ��l��L 0��L 0�F��F�!�&�)�)�F��g�l�l�4�>�2�7�3C�3C�F�3K�3K�L�L�G��O�O�G�$�$�$��:�� �e�F�G�&<�&<�� �� �7��@�@�@�� 8����&�&���#+�":�1�:�"F�"F���%����q� � � ��Z�Z�\�\� �!����I�I�>��G�H�H�H��%�+�+�J�7�7����8�!�F�"'�+�+�a�.�.�"7�C�K������ �� �� ��|�������� ����"���, 0���9�6���)��)��)��$�$�W�-�-�-��|��!7�$�1��M�%)�_� � �%'�W�\�\�%�4�X�>�>�>�+4�+C�I�+N�+N�+N�+4�+C�E�+J�+J�+J�L�&M��&M� ��"$��Z�!8�!8�J�#�j�0�;�>��F�G�:����w�/�/�/�/��-��:��:��:�(�)�)/�����:��:��:�:����8����x�0�0�0�0��-��8��8��8�(�<�#�V�G�X�6�6�8��8��8�8���� ��g�t�,�,��7��� � �7�+�+�+������� � �6�6�6�7��7��7��7��7��7��7��7��7��7��7�����7��7��7��7������G�G�I�I�I������G�G�I�I�I��$�$�W�-�-�-����v�w�/�/�/�/� �7�g��� �� 0�� 0���<��0��H�2�D�9�9�9�9� �g�d�m�m�G�4�v�=�G�&���&�8�G��'�)�)���!D�!%�w��9��9��9����w�/�/�/����&�&s<�����E'�'E>�=E>�I!�!-J�J(�(.K�)=L2�2L6 �9L6 N)�__name__� __module__�__qualname__�description�user_options�boolean_optionsr���r���r!���r$���r#�����r���r���r���r������s���������������>�K� �� �� �L���i�O������1��1��1�����������c'��c'��c'��c'��c'r���r���c�������������������������e�Zd�Zd��ZdS�)�build_scripts_2to3c������������������|�����t��������������������������������|�������������\��}}|�j��������s|����������������������|�������������||fS�r���)r���r#���r@����run_2to3)r���r���rQ���s��� r���r#���zbuild_scripts_2to3.copy_scripts����sA������"/�"<�"<�T�"B�"B���-��|�� )��M�M�-�(�(�(���&�&r���N)r^���r_���r`���r#���rd���r���r���rf���rf�������s#��������������'��'��'��'��'r���rf���)r0����rerO���r���� distutilsr����distutils.corer����distutils.dep_utilr����distutils.utilr���r���r ���r7����compiler<���r���rf���rd���r���r����<module>ro������s����5��� � � � � � � ��������������������������"��"��"��"��"��"��$��$��$��$��$��$��2��2��2��2��2��2��2��2��������������������� �;�<�<� �G'��G'��G'��G'��G'�G��G'��G'��G'�R'��'��'��'��'�� ��'��'��'��'��'r���