HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //lib/python2.7/distutils/command/install_egg_info.pyc
�
;;Wgc@s�dZddlmZddlmZmZddlZddlZddlZdefd��YZ	d�Z
d�Zd	�ZdS(
s�distutils.command.install_egg_info

Implements the Distutils 'install_egg_info' command, for installing
a package's PKG-INFO metadata.i����(tCommand(tlogtdir_utilNtinstall_egg_infocBsDeZdZdZdd
gZd�Zd�Zd	�Zd
�Z	RS(s)Install an .egg-info file for the packages8Install package's PKG-INFO metadata as an .egg-info filesinstall-dir=tdsdirectory to install tosinstall-layoutscustom installation layoutcCsd|_d|_d|_dS(N(tNonetinstall_dirtinstall_layoutt
prefix_option(tself((s8/usr/lib/python2.7/distutils/command/install_egg_info.pytinitialize_optionss		cCsa|jdd�|jdd
�|jdd�|jr�dtt|jj���tt|jj���f}|jj�dkr3t	d��q3n�|j
s�d	tjkr�d
tt|jj���tt|jj���tj
d f}n:dtt|jj���tt|jj���f}tjj|j|�|_|jg|_dS(Ntinstall_libRtinstallRRs%s-%s.egg-infotdebs"unknown value for --install-layouttreal_prefixs%s-%s-py%s.egg-infoi(RR(RR(RR(R
(tset_undefined_optionsRtto_filenamet	safe_nametdistributiontget_nametsafe_versiontget_versiontlowertDistutilsOptionErrorRtsyst__dict__tversiontostpathtjoinRttargettoutputs(R	tbasename((s8/usr/lib/python2.7/distutils/command/install_egg_info.pytfinalize_optionss(	cCs|j}tjj|�rGtjj|�rGtj|d|j�nptjj|�r||j	tj
|jfd|�n;tjj|j�s�|j	tj|jfd|j�nt
jd|�|js�t|d�}|jjj|�|j�ndS(Ntdry_runs	Removing s	Creating s
Writing %stw(RRRtisdirtislinkRtremove_treeR"texiststexecutetunlinkRtmakedirsRtinfotopenRtmetadatatwrite_pkg_filetclose(R	Rtf((s8/usr/lib/python2.7/distutils/command/install_egg_info.pytrun3s	%#	cCs|jS(N(R(R	((s8/usr/lib/python2.7/distutils/command/install_egg_info.pytget_outputsBs(sinstall-dir=Rsdirectory to install toN(sinstall-layoutNscustom installation layout(
t__name__t
__module__t__doc__tdescriptionRtuser_optionsR
R!R1R2(((s8/usr/lib/python2.7/distutils/command/install_egg_info.pyRs				cCstjdd|�S(s�Convert an arbitrary string to a standard distribution name

    Any runs of non-alphanumeric/. characters are replaced with a single '-'.
    s[^A-Za-z0-9.]+t-(tretsub(tname((s8/usr/lib/python2.7/distutils/command/install_egg_info.pyRJscCs%|jdd�}tjdd|�S(s�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.
    t t.s[^A-Za-z0-9.]+R8(treplaceR9R:(R((s8/usr/lib/python2.7/distutils/command/install_egg_info.pyRRscCs|jdd�S(s|Convert a project or version name to its filename-escaped form

    Any '-' characters are currently replaced with '_'.
    R8t_(R>(R;((s8/usr/lib/python2.7/distutils/command/install_egg_info.pyR\s(
R5t
distutils.cmdRt	distutilsRRRRR9RRRR(((s8/usr/lib/python2.7/distutils/command/install_egg_info.pyt<module>s$?