403Webshell
Server IP : 74.208.236.16  /  Your IP : 216.73.216.220
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : u102440577 ( 7172810)
PHP Version : 8.4.26
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /kunden/lib/python3/dist-packages/setuptools/command/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/lib/python3/dist-packages/setuptools/command/__pycache__/build_py.cpython-313.pyc
�

�h�<���SSKJr SSKrSSKrSSKrSSKrSSKrSSKJrJ	r	 SSK
Jr SSKJr SSK
Jr SSKJr SS	KJrJr SS
KJr SSKJr SSKJs Jr SSKrSSKJr S
r SSjr!"SS\R45rSr""SS5r#g)�)�annotationsN)�Iterable�Iterator)�partial)�glob)�Path)�unique_everseen�)�StrPath�StrPathT)�Distribution)�SetuptoolsDeprecationWarning)�convert_path)z*.pyizpy.typedc��[R"U[R"U5R[R-5 g�N)�os�chmod�stat�st_mode�S_IWRITE)�targets �=/usr/lib/python3/dist-packages/setuptools/command/build_py.py�
make_writablers'���H�H�V�R�W�W�V�_�,�,�t�}�}�<�=�c�B^�\rSrSr%SrS\S'SrS\S'SrS	\S
'SrS!S"U4Sjjjr	S#S
jr
S$SjrSrSr
SrSrS%S&U4SjjjrS'SjrS(SjrS(SjrS#SjrS#SjrS)SjrS#SjrSrSrSrSr\S*Sj5rS rU=r$)+�build_py�aDEnhanced 'build_py' command that includes data files with packages

The data files are specified via a 'package_data' argument to 'setup()'.
See 'setuptools.dist.Distribution' for more details.

Also, this version of the 'build_py' command allows you to specify both
'py_modules' and 'packages' in the same setup operation.
r
�distributionF�bool�
editable_modeNzStrPath | None�existing_egg_info_dirc��[RRU5 URRUlURR
=(d 0UlSUR;aURS	gg)N�
data_files)�origr�finalize_optionsr�package_data�exclude_package_data�__dict__��selfs rr%�build_py.finalize_options,s^���
�
�&�&�t�,� �-�-�:�:���$(�$5�$5�$J�$J�$P�b��!��4�=�=�(��
�
�l�+�)rc�>�U(aD[[U5R55n[[U5R55n[TU]XX4XV5$r)�strr�resolve�super�	copy_file)r*�infile�outfile�
preserve_mode�preserve_times�link�level�	__class__s       �rr0�build_py.copy_file3sO������f��-�-�/�0�F��$�w�-�/�/�1�2�G��w� ��]�D�
�	
rc�j�UR(dUR(aUR(agUR(aUR5 UR(a UR	5 UR5 UR
[RRUSS95 g)z?Build modules, packages, and copy data files to build directoryNF)�include_bytecode)
�
py_modules�packagesr �
build_modules�build_packages�build_package_data�byte_compiler$r�get_outputsr)s r�run�build_py.runDsp�����4�=�=�T�5G�5G���?�?���� ��=�=����!��#�#�%�	
���$�-�-�3�3�D�5�3�Q�Rrc��US:Xa!UR5UlUR$[RR	X5$)zlazily compute data filesr#)�_get_data_filesr#r$r�__getattr__)r*�attrs  rrF�build_py.__getattr__Ts9���<��"�2�2�4�D�O��?�?�"��}�}�(�(��4�4rc��UR5 [[URUR=(d S55$)z?Generate list of '(package,src_dir,build_dir,filenames)' tuples�)�analyze_manifest�list�map�_get_pkg_data_filesr<r)s rrE�build_py._get_data_files[s/�������C��0�0�$�-�-�2E�2�F�G�Grc��URRS05 [[URUR
=(d S55$)z�
Generate list of ``(package,src_dir,build_dir,filenames)`` tuples,
but without triggering any attempt to analyze or build the manifest.
�manifest_filesrJ)r(�
setdefaultrLrMrNr<r)s r�get_data_files_without_manifest�(build_py.get_data_files_without_manifest`s:��	
�
�
� � �!1�2�6��C��0�0�$�-�-�2E�2�F�G�Grc�&�URU5n[RR"UR/URS5-6nUR
X5Vs/sH"n[RRXB5PM$ nnXX54$s snf�N�.)�get_package_dirr�path�join�	build_lib�split�find_data_files�relpath)r*�package�src_dir�	build_dir�file�	filenamess      rrN�build_py._get_pkg_data_filesjs����&�&�w�/���G�G�L�L�D�N�N�#3�g�m�m�C�6H�#H�J�	�
�,�,�W�>�
�>��
�G�G�O�O�D�*�>�	�
���5�5��	
s�)Bc�~�URURUU[S9n[[	[
SS9U5n[RRU5n[[RRU5n[R"URRU/5U5nURXU5$)z6Return filenames for package's data files in 'src_dir')�extra_patternsT)�	recursive)�_get_platform_patternsr&�_IMPLICIT_DATA_FILESrMrr�	itertools�chain�
from_iterable�filterrrY�isfilerQ�get�exclude_data_files)r*r_r`�patterns�globs_expanded�
globs_matches�
glob_files�filess        rr]�build_py.find_data_filesxs����.�.������/�	/�
���W�T�T�:�H�E��!���5�5�n�E�
��B�G�G�N�N�M�:�
�������#�#�G�R�0��
���&�&�w��?�?rc�>�UR(a'[UR5R55$[TU]U5$)�1See :class:`setuptools.commands.build.SubCommand`)r rL�get_output_mapping�keysr/rA)r*r:r7s  �rrA�build_py.get_outputs�s:��������/�/�1�6�6�8�9�9��w�"�#3�4�4rc��[R"UR5UR55n[	[USS95$)rxc��US$)NrrJ)�xs r�<lambda>�-build_py.get_output_mapping.<locals>.<lambda>�s��!�A�$r)�key)rjrk� _get_package_data_output_mapping�_get_module_mapping�dict�sorted)r*�mappings  rry�build_py.get_output_mapping�s<���/�/��1�1�3��$�$�&�
���F�7��7�8�8rc#�# �UR5H8upnURS5nURURX5nXC4v� M: g7f)z5Iterate over all modules producing (dest, src) pairs.rWN)�find_all_modulesr\�get_module_outfiler[)r*r_�module�module_file�filenames     rr��build_py._get_module_mapping�sK���,0�,A�,A�,C�(�G�[��m�m�C�(�G��.�.�t�~�~�w�O�H��)�)�-D�s�AAc#��# �URHRupp4UHFn[RRX55n[RRX%5nXg4v� MH MT g7f)z6Iterate over package data producing (dest, src) pairs.N)r#rrYrZ)r*r_r`rarcr�r�srcfiles        rr��)build_py._get_package_data_output_mapping�sP���6:�o�o�2�G�i�%�������i�:���'�'�,�,�w�9���'�'�&�7F�s�A$A&c���UR5HQupUR[RR	U55 URX!5up4[
U5 MS g)z$Copy data files into build directoryN)r��mkpathrrY�dirnamer0r)r*rr��_outf�_copieds     rr?�build_py.build_package_data�sI��#�D�D�F�O�F��K�K�������/�0�!�^�^�G�<�N�E��&�!� Grc��0UlURR(dg0nUR=(d SHnX![	URU55'M! UR(a_[URS5R5(a6URn[US5nURSS9R5nODURS5 URS5nURnURRn[!5nUR#XS5GHn[$R&R)[	U55up�SnU
nU	(a_X�:waZX�;aUU	n[$R&R)U	5up�[$R&R+X�5n
U	(aX�:waX�;aMUX�;dM�X�:XaUR-U
5(aM�O,UR/XU
5nU(aUR1U5 URR3X/5R5U5 GM g)NrJzSOURCES.txtzutf-8)�encoding�egg_info)rQr�include_package_datar<�assert_relativerXr!r�exists�	read_text�
splitlines�run_command�get_finalized_commandr��filelistru�_IncludePackageDataAbuse�_filter_build_filesrrYr\rZ�	is_module�importable_subpackage�warnrR�append)r*�src_dirsr_�egg_info_dir�manifestru�ei_cmd�checkrY�d�f�prev�oldf�df�
importables               rrK�build_py.analyze_manifest�s���46���� � �5�5��#%���}�}�*��*�G�GN�_�T�%9�%9�'�%B�C�D�+�

�&�&��T�/�/��?�F�F�H�H��5�5�L��L�-�8�H��&�&��&�8�C�C�E�E����Z�(��/�/�
�;�F�!�?�?�L��O�O�)�)�E�(�*���,�,�U�A�D��7�7�=�=���!6�7�D�A��D��D���	�a�&7������
�
�a�(����G�G�L�L��'����	�a�&7��}��9����q�)�)� �*�"'�!<�!<�X�[�!�!L�J�!��
�
�:�.��#�#�.�.�x�{�B�?�F�F�t�L�!Brc#��^# �URS5nX RURUR4nUVs/sH*oU(dM[R
R
U5PM, nnUHfn[R
R
U5m[R
RU5(a[U4SjU55(dMbUv� Mh gs snf7f)aM
``build_meta`` may try to create egg_info outside of the project directory,
and this can be problematic for certain plugins (reported in issue #3500).

Extensions might also include between their sources files created on the
``build_lib`` and ``build_temp`` directories.

This function should filter this case of invalid files out.
�buildc3�,># �UH	oT;v� M g7frrJ)�.0r��	norm_paths  �r�	<genexpr>�/build_py._filter_build_files.<locals>.<genexpr>�s����-T�)�Q�y�.@�)�s�N)	r�r[�
build_temp�
build_baserrY�normpath�isabs�all)	r*rur�r��
build_dirs�p�	norm_dirsrbr�s	        @rr��build_py._filter_build_files�s������*�*�7�3������0@�0@�%�BR�BR�S�
�2<�B�*�Q��(�R�W�W�%�%�a�(�*�	�B��D����(�(��.�I��7�7�=�=��&�&�#�-T�)�-T�*T�*T��
���C�s�9C!�
C�
#C�-A"C!�C!c��grrJr)s r�get_data_files�build_py.get_data_files�s��rc�(�URU$![a Of=f[RR	XU5nX0RU'U(aUR
R(dU$UR
RH#nXA:XdURUS-5(dM# O U$[US5nUR5nSSS5 O!,(df   O=fSW;a#[RRSUS35eU$)z8Check namespace packages' __init__ for declare_namespacerW�rbNsdeclare_namespacezNamespace package problem: z� is a namespace package, but its
__init__.py does not call declare_namespace()! Please fix it.
(See the setuptools manual under "Namespace Packages" for details.)
")
�packages_checked�KeyErrorr$r�
check_packager�namespace_packages�
startswith�open�read�	distutils�errors�DistutilsError)r*r_�package_dir�init_py�pkgr��contentss       rr��build_py.check_package�s���	��(�(��1�1���	��	���-�-�-�-�d�[�I��)0���g�&��d�/�/�B�B��N��$�$�7�7�C��~�����#�
�!>�!>��8��N�
�'�4�
 �A��v�v�x�H�!�
 �
 ���x�/��"�"�1�1�-�g�Y�78�8��
��s��
��>C�
C&c�l�0Ul[RRU5 SUlSUlg)NF)r�r$r�initialize_optionsr r!r)s rr��build_py.initialize_options
s,�� "����
�
�(�(��.�"���%)��"rc���[RRX5nURRb4[
RRURRU5$U$r)r$rrXr�src_rootrrYrZ)r*r_�ress   rrX�build_py.get_package_dirsN���m�m�+�+�D�:�����%�%�1��7�7�<�<�� 1� 1� :� :�C�@�@��
rc�^^�[T5mURURUU5nU4SjU5n[RRU5n[
U5mU4SjT5n[[U55$)z6Filter filenames for package's data files in 'src_dir'c3�R># �UHn[R"TU5v� M g7fr)�fnmatchrm)r��patternrus  �rr��.build_py.exclude_data_files.<locals>.<genexpr>!s����O�h�7����u�g�6�6�h�s�$'c3�6># �UHoT;dM
Uv� M g7frrJ)r��fn�bads  �rr�r�%s����7��"�3��2�2��s�	�	)rLrhr'rjrkrl�setr	)	r*r_r`rurq�match_groups�matches�keepersr�s	   `    @rrp�build_py.exclude_data_filesso����U����.�.��%�%���
��
P�h�O���/�/�/�/��=���'�l��7��7���O�G�,�-�-rc�^�[R"UURS/5URU/55nU4SjU5$)z�
yield platform-specific path patterns (suitable for glob
or fn_match) from a glob-based spec (such as
self.package_data or self.exclude_package_data)
matching package in src_dir.
�c3�v># �UH.n[RRT[U55v� M0 g7fr)rrYrZr)r�r�r`s  �rr��2build_py._get_platform_patterns.<locals>.<genexpr>6s1����
�(��
�G�G�L�L��,�w�"7�8�8�'�s�69)rjrkro)�specr_r`rf�raw_patternss  `  rrh�build_py._get_platform_patterns)sF���!�����H�H�R����H�H�W�b�!�
��

�(�
�	
r)r#r r'r!rQr&r�)TTN�)r1rr2rr3rr4rr5z
str | Noner6�object�returnztuple[StrPathT | str, bool]�r��None)rGr-)T)r:rr�z	list[str])r�zdict[str, str])r�zIterator[tuple[str, str]])ruz
Iterable[str]r�rr�z
Iterator[str])rJ) �__name__�
__module__�__qualname__�__firstlineno__�__doc__�__annotations__r r!r%r0rBrFrErSrNr]rAryr�r�r?rKr�r�r�r�rXrp�staticmethodrh�__static_attributes__�
__classcell__)r7s@rrrs�������M�4��,0��>�0�,�#�#���
��
��
��	
�
�
��

��
�
%�
�
�"S� 5�H�
H�6�@�$5�5�9�*�(�"�'M�R�"��.5��	��*
��<*��.� �
��
rrc��[RRU5(dU$SSKJn [
R"S5R5U-nU"U5e)Nr)�DistutilsSetupErrorz�
        Error: setup script specifies an absolute path:

            %s

        setup() arguments must *always* be /-separated paths relative to the
        setup.py directory, *never* absolute paths.
        )rrYr��distutils.errorsr�textwrap�dedent�lstrip)rYr�msgs   rr�r�=sS��
�7�7�=�=������4�	���
�		
��&�(�
�
	���c�
"�"rc�F�\rSrSrSr"SS\5rSrSrSr	Sr
S	rg
)r�iRz>Inform users that package or module is included as 'data file'c��\rSrSrSrSrSrg)�!_IncludePackageDataAbuse._WarningiUzU
        Package {importable!r} is absent from the `packages` configuration.
        a|
        ############################
        # Package would be ignored #
        ############################
        Python recognizes {importable!r} as an importable package[^1],
        but it is absent from setuptools' `packages` configuration.

        This leads to an ambiguous overall configuration. If you want to distribute this
        package, please make sure that {importable!r} is explicitly added
        to the `packages` configuration field.

        Alternatively, you can also rely on setuptools' discovery methods
        (for example by using `find_namespace_packages(...)`/`find_namespace:`
        instead of `find_packages(...)`/`find:`).

        You can read more about "package discovery" on setuptools documentation page:

        - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

        If you don't want {importable!r} to be distributed and are
        already explicitly excluding {importable!r} via
        `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
        you can try to use `exclude_package_data`, or `include-package-data=False` in
        combination with a more fine grained `package-data` configuration.

        You can read more about "package data files" on setuptools documentation page:

        - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


        [^1]: For Python, any directory (with suitable naming) can be imported,
              even if it does not contain any `.py` files.
              On the other hand, currently there is no concept of package data
              directory, all directories are treated like packages.
        rJN)r�r�r�r��_SUMMARY�_DETAILSrrJrr�_WarningrUs����"�rrc�"�[5Ulgr)r��_already_warnedr)s r�__init__�!_IncludePackageDataAbuse.__init__�s��"�u��rc�l�URS5=(a US[S5*R5$)Nz.py)�endswith�len�isidentifier)r*rbs  rr��"_IncludePackageDataAbuse.is_module�s,���}�}�U�#�J��]��E�
�{�(;�(H�(H�(J�Jrc���[U5Rn[[R"[
RUR55nU(aSRU/UQ5$grV)	r�parentrLrj�	takewhiler-r�partsrZ)r*rrbr�rs     rr��._IncludePackageDataAbuse.importable_subpackage�sO���4�j�����Y�(�(��)9�)9�3�9�9�E�F����8�8�V�,�e�,�-�-�rc��XR;a5URRUS9 URRU5 gg)N)r�)rr�emit�add)r*r�s  rr��_IncludePackageDataAbuse.warn�s<���1�1�1��M�M���*��5�� � �$�$�Z�0�2r)rN)r�r�r�r�r�rrrr�r�r�rrJrrr�r�Rs(��H�'�/�'�V%�K��1rr�r�)$�
__future__rr�rjrrr�collections.abcrr�	functoolsrr�pathlibr�more_itertoolsr	�_pathrr�distr
�warningsr�distutils.command.build_py�commandrr$rr��distutils.utilrrirr�r�rJrr�<module>r,sh��"���	���.����*�%��3�)�)��'�,��>�\
�t�}�}�\
�~#�*>1�>1r

Youez - 2016 - github.com/yon3zu
LinuXploit