HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/local/lib/python3.10/distutils/command/__pycache__/install_egg_info.cpython-310.opt-2.pyc
o

�i+
�@sb	ddlmZddlmZmZddlZddlZddlZGdd�de�Zdd�Z	dd	�Z
d
d�ZdS)�)�Command)�log�dir_utilNc@s8eZdZ	dZdgZdd�Zdd�Zdd�Zd	d
�ZdS)�install_egg_infoz8Install package's PKG-INFO metadata as an .egg-info file)zinstall-dir=�dzdirectory to install tocCs
d|_dS�N)�install_dir��self�r�?/usr/local/lib/python3.10/distutils/command/install_egg_info.py�initialize_optionss
z#install_egg_info.initialize_optionscCsd|�dd�dtt|j����tt|j����gtjdd��R}t	j
�|j|�|_
|j
g|_dS)NZinstall_lib)rrz%s-%s-py%d.%d.egg-info�)Zset_undefined_options�to_filename�	safe_name�distribution�get_name�safe_versionZget_version�sys�version_info�os�path�joinr�target�outputs)r
�basenamerrr�finalize_optionss��z!install_egg_info.finalize_optionscCs�|j}tj�|�rtj�|�stj||jd�n'tj�|�r+|�	tj
|jfd|�ntj�|j�s?|�	tj|jfd|j�t
�d|�|jsit|ddd��}|jj�|�Wd�dS1sbwYdSdS)N)�dry_runz	Removing z	Creating z
Writing %s�wzUTF-8)�encoding)rrr�isdir�islinkrZremove_treer�existsZexecute�unlinkr�makedirsr�info�openrZmetadataZwrite_pkg_file)r
r�frrr�run s�"��zinstall_egg_info.runcCs|jSr)rr	rrr�get_outputs.szinstall_egg_info.get_outputsN)	�__name__�
__module__�__qualname__�descriptionZuser_optionsr
rr(r)rrrrrs�
rcCs	t�dd|�S)N�[^A-Za-z0-9.]+�-)�re�sub��namerrrr6srcCs	|�dd�}t�dd|�S)N� �.r.r/)�replacer0r1)�versionrrrr>srcCs	|�dd�S)Nr/�_)r6r2rrrrHsr)Z
distutils.cmdrZ	distutilsrrrrr0rrrrrrrr�<module>s+