403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/cygwin64/lib/python3.9/site-packages/setuptools/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.9/site-packages/setuptools/__pycache__/__init__.cpython-39.pyc
a

��eI%�@s^dZddlZddlZddlZddlmZddlZddlZ	ddl
mZddlm
ZddlmZmZddlmZdd	lmZdd
lmZmZddlmZddlmZdd
lmZgd�Zej Z dZ!ej"Z#ej"Z$dd�Z%dd�Z&dd�Z'e	j(j'je'_er�e	j(j)Z*ne�+e	j(j)�Z*Gdd�de*�Z)dd�Z,ej-fdd�Z.e�/e�dd��Z
Gdd�de0�Z1e�2�dS)z@Extensions to the 'distutils' for large or complex distributions�N)�
TYPE_CHECKING)�DistutilsOptionError)�convert_path�)�logging�monkey)�version)�Require)�
PackageFinder�PEP420PackageFinder)�Distribution)�	Extension)�SetuptoolsDeprecationWarning)�setupr�Commandr
r	r�
find_packages�find_namespace_packagescCs:Gdd�dtjj�}||�}|jdd�|jr6t|�dS)Ncs6eZdZdZ�fdd�Zd	�fdd�	Zdd�Z�ZS)
z4_install_setup_requires.<locals>.MinimalDistributionzl
        A minimal version of a distribution for supporting the
        fetch_build_eggs interface.
        cs<d}�fdd�t|�t��@D�}t��|�|j��dS)N)Zdependency_links�setup_requirescsi|]}|�|�qS�r)�.0�k��attrsr�7/usr/lib/python3.9/site-packages/setuptools/__init__.py�
<dictcomp>4�zQ_install_setup_requires.<locals>.MinimalDistribution.__init__.<locals>.<dictcomp>)�set�super�__init__�set_defaultsZ_disable)�selfrZ_inclZfiltered��	__class__rrr2sz=_install_setup_requires.<locals>.MinimalDistribution.__init__Ncs:zt��|�\}}|dfWSty4|dfYS0dS)zAIgnore ``pyproject.toml``, they are not related to setup_requiresrN)rZ _split_standard_project_metadata�	Exception)r �	filenamesZcfgZtomlr!rr�_get_project_config_files9s

zN_install_setup_requires.<locals>.MinimalDistribution._get_project_config_filescSsdS)zl
            Disable finalize_options to avoid building the working set.
            Ref #2158.
            Nr)r rrr�finalize_optionsAszE_install_setup_requires.<locals>.MinimalDistribution.finalize_options)N)�__name__�
__module__�__qualname__�__doc__rr%r&�
__classcell__rrr!r�MinimalDistribution,sr,T)Zignore_option_errors)�	distutils�corerZparse_config_filesr�_fetch_build_eggs)rr,�distrrr�_install_setup_requires)s
r1c
Cstz|�|j�Wn^tyn}zFd}d|jjvrXt|d�rF|�|�n|�d|�d���WYd}~n
d}~00dS)Na�
        It is possible a package already installed in your system
        contains an version that is invalid according to PEP 440.
        You can try `pip install --use-pep517` as a workaround for this problem,
        or rely on a new virtual environment.

        If the problem refers to a package that is not installed yet,
        please contact that package's maintainers or distributors.
        ZInvalidVersion�add_note�
)Zfetch_build_eggsrr#r"r'�hasattrr2Zannounce)r0Zex�msgrrrr/Os	
r/cKs"t��t|�tjjfi|��S�N)rZ	configurer1r-r.rrrrrrdsrcsPeZdZUdZdZeed<ed��fdd�Zddd	�Zd
d�Z	dd
d�Z
�ZS)ra�

    Setuptools internal actions are organized using a *command design pattern*.
    This means that each action (or group of closely related actions) executed during
    the build should be implemented as a ``Command`` subclass.

    These commands are abstractions and do not necessarily correspond to a command that
    can (or should) be executed via a terminal, in a CLI fashion (although historically
    they would).

    When creating a new command from scratch, custom defined classes **SHOULD** inherit
    from ``setuptools.Command`` and implement a few mandatory methods.
    Between these mandatory methods, are listed:

    .. method:: initialize_options(self)

        Set or (reset) all options/attributes/caches used by the command
        to their default values. Note that these values may be overwritten during
        the build.

    .. method:: finalize_options(self)

        Set final values for all options/attributes used by the command.
        Most of the time, each option/attribute/cache should only be set if it does not
        have any value yet (e.g. ``if self.attr is None: self.attr = val``).

    .. method:: run(self)

        Execute the actions intended by the command.
        (Side effects **SHOULD** only take place when ``run`` is executed,
        for example, creating new files or writing to the terminal output).

    A useful analogy for command classes is to think of them as subroutines with local
    variables called "options".  The options are "declared" in ``initialize_options()``
    and "defined" (given their final values, aka "finalized") in ``finalize_options()``,
    both of which must be defined by every command class. The "body" of the subroutine,
    (where it does all the work) is the ``run()`` method.
    Between ``initialize_options()`` and ``finalize_options()``, ``setuptools`` may set
    the values for options/attributes based on user's input (or circumstance),
    which means that the implementation should be careful to not overwrite values in
    ``finalize_options`` unless necessary.

    Please note that other commands (or other parts of setuptools) may also overwrite
    the values of the command's options/attributes multiple times during the build
    process.
    Therefore it is important to consistently implement ``initialize_options()`` and
    ``finalize_options()``. For example, all derived attributes (or attributes that
    depend on the value of other attributes) **SHOULD** be recomputed in
    ``finalize_options``.

    When overwriting existing commands, custom defined classes **MUST** abide by the
    same APIs implemented by the original class. They also **SHOULD** inherit from the
    original class.
    FZdistribution)r0cst��|�t|��|�dS)zj
        Construct the command for dist, updating
        vars(self) with any keyword parameters.
        N)rr�vars�update)r r0�kwr!rrr�szCommand.__init__NcCsBt||�}|dur"t|||�|St|t�s>td|||f��|S)Nz'%s' must be a %s (got `%s`))�getattr�setattr�
isinstance�strr)r �optionZwhat�default�valrrr�_ensure_stringlike�s

�zCommand._ensure_stringlikecCspt||�}|durdSt|t�r6t||t�d|��n6t|t�rTtdd�|D��}nd}|sltd||f��dS)a�Ensure that 'option' is a list of strings.  If 'option' is
        currently a string, we split it either on /,\s*/ or /\s+/, so
        "foo bar baz", "foo,bar,baz", and "foo,   bar baz" all become
        ["foo", "bar", "baz"].

        ..
           TODO: This method seems to be similar to the one in ``distutils.cmd``
           Probably it is just here for backward compatibility with old Python versions?

        :meta private:
        Nz,\s*|\s+css|]}t|t�VqdSr6)r<r=)r�vrrr�	<genexpr>�rz-Command.ensure_string_list.<locals>.<genexpr>Fz''%s' must be a list of strings (got %r))	r:r<r=r;�re�split�list�allr)r r>r@�okrrr�ensure_string_list�s



�zCommand.ensure_string_listrcKs t�|||�}t|��|�|Sr6)�_Command�reinitialize_commandr7r8)r ZcommandZreinit_subcommandsr9�cmdrrrrK�szCommand.reinitialize_command)N)r)r'r(r)r*Zcommand_consumes_argumentsr�__annotations__rrArIrKr+rrr!rrts
6
rcCs&dd�tj|dd�D�}ttjj|�S)z%
    Find all files under 'path'
    css,|]$\}}}|D]}tj�||�VqqdSr6)�os�path�join)r�base�dirs�files�filerrrrC�s�z#_find_all_simple.<locals>.<genexpr>T)�followlinks)rN�walk�filterrO�isfile)rO�resultsrrr�_find_all_simple�s�rZcCs6t|�}|tjkr.tjtjj|d�}t||�}t|�S)z�
    Find all files under 'dir' and return the list of full filenames.
    Unless dir is '.', return full filenames with dir prepended.
    )�start)	rZrN�curdir�	functools�partialrO�relpath�maprF)�dirrSZmake_relrrr�findall�s


rbcCstjdddd�t|�S)NzAccess to implementation detaila
        The function `convert_path` is not provided by setuptools itself,
        and therefore not part of the public API.

        Its direct usage by 3rd-party packages is considered improper and the function
        may be removed in the future.
        )i���
)Zdue_date)r�emit�
_convert_path)�pathnamerrrr�s�rc@seZdZdZdS)�sicz;Treat this string as-is (https://en.wikipedia.org/wiki/Sic)N)r'r(r)r*rrrrrh
srh)3r*r]rNrD�typingrZ_distutils_hack.override�_distutils_hackZdistutils.corer-Zdistutils.errorsrZdistutils.utilrrf�rrrZ_version_moduleZdependsr	Z	discoveryr
rr0r�	extensionr
�warningsr�__all__�__version__Zbootstrap_install_from�findrrr1r/rr.rrJZ
get_unpatchedrZr\rb�wrapsr=rhZ	patch_allrrrr�<module>sD&
n


Youez - 2016 - github.com/yon3zu
LinuXploit