403Webshell
Server IP : 164.138.27.172  /  Your IP : 216.73.217.113
Web Server : nginx/1.27.4
System : Linux cookingdream 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64
User : www-adm ( 1001)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3.5/distutils/command/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.5/distutils/command/__pycache__/install_egg_info.cpython-35.pyc


.c`�
�@s�dZddlmZddlmZmZddlZddlZddlZGdd�de�Z	dd�Z
d	d
�Zdd�ZdS)
z�distutils.command.install_egg_info

Implements the Distutils 'install_egg_info' command, for installing
a package's PKG-INFO metadata.�)�Command)�log�dir_utilNc@sXeZdZdZdZddgZd	d
�Zdd�Zd
d�Zdd�Z	dS)�install_egg_infoz)Install an .egg-info file for the packagez8Install package's PKG-INFO metadata as an .egg-info file�install-dir=�d�directory to install to�install-layoutN�custom installation layoutcCsd|_d|_d|_dS)N)�install_dir�install_layout�
prefix_option)�self�r�8/usr/lib/python3.5/distutils/command/install_egg_info.py�initialize_optionss		z#install_egg_info.initialize_optionscCsE|jdd�|jdd�|jdd�|jrr|jj�dkrZtd��|jj�dk}n|jr�d	}nd
}|r�dtt|jj���tt	|jj
���f}nJdtt|jj���tt	|jj
���tjdd
�f}t
jj|j|�|_|jg|_dS)NZinstall_librZinstallrr
�deb�unixz"unknown value for --install-layoutFTz%s-%s.egg-infoz%s-%s-py%s.egg-info�)�install_dirr)�install_layoutr)�
prefix_optionr)rr)Zset_undefined_optionsr�lowerZDistutilsOptionErrorr
�to_filename�	safe_name�distributionZget_name�safe_versionZget_version�sys�version�os�path�joinr�target�outputs)rZno_pyver�basenamerrr�finalize_optionss*				"z!install_egg_info.finalize_optionsc	Cs|j}tjj|�rGtjj|�rGtj|d|j�nmtjj|�r||j	tj
|jfd|�n8tjj|j�s�|j	tj|jfd|j�t
jd|�|js�t|ddd��}|jjj|�WdQRXdS)N�dry_runz	Removing z	Creating z
Writing %s�w�encodingzUTF-8)r"rr �isdir�islinkrZremove_treer&�existsZexecute�unlinkr�makedirsr�info�openrZmetadataZwrite_pkg_file)rr"�frrr�run4s	%#	zinstall_egg_info.runcCs|jS)N)r#)rrrr�get_outputsBszinstall_egg_info.get_outputs)rrr)r	Nr
)
�__name__�
__module__�__qualname__�__doc__ZdescriptionZuser_optionsrr%r1r2rrrrrs	rcCstjdd|�S)z�Convert an arbitrary string to a standard distribution name

    Any runs of non-alphanumeric/. characters are replaced with a single '-'.
    z[^A-Za-z0-9.]+�-)�re�sub)�namerrrrJsrcCs%|jdd�}tjdd|�S)z�Convert an arbitrary string to a standard version string

    Spaces become dots, and all other non-alphanumeric characters become
    dashes, with runs of multiple dashes condensed to a single dash.
    � �.z[^A-Za-z0-9.]+r7)�replacer8r9)rrrrrRsrcCs|jdd�S)z|Convert a project or version name to its filename-escaped form

    Any '-' characters are currently replaced with '_'.
    r7�_)r=)r:rrrr\sr)
r6Z
distutils.cmdrZ	distutilsrrrrr8rrrrrrrr�<module>s$?

Youez - 2016 - github.com/yon3zu
LinuXploit