Viewing File: /opt/alt/python311/lib64/python3.11/distutils/command/__pycache__/install_egg_info.cpython-311.pyc



f+
ldZddlmZddlmZmZddlZddlZddlZGddeZ	dZ
dZd	ZdS)
zdistutils.command.install_egg_info

Implements the Distutils 'install_egg_info' command, for installing
a package's PKG-INFO metadata.)Command)logdir_utilNc4eZdZdZdZdgZdZdZdZdZ	dS)	install_egg_infoz)Install an .egg-info file for the packagez8Install package's PKG-INFO metadata as an .egg-info file)zinstall-dir=dzdirectory to install tocd|_dSN)install_dirselfs I/opt/alt/python311/lib64/python3.11/distutils/command/install_egg_info.pyinitialize_optionsz#install_egg_info.initialize_optionssc|dddtt|jtt|jgtjddRz}tj
|j||_
|j
g|_dS)Ninstall_lib)rrz%s-%s-py%d.%d.egg-info)set_undefined_optionsto_filename	safe_namedistributionget_namesafe_versionget_versionsysversion_infoospathjoinrtargetoutputs)r
basenames  rfinalize_optionsz!install_egg_info.finalize_optionss""=1NOOO+	$"3"<"<">">??@@T%6%B%B%D%DEEFF/

bqb
!/
/


gll4#3X>>}rc|j}tj|r;tj|stj||jntj|r+|	tj
|jfd|znStj|js/|	tj|jfd|jztjd||jsLt|dd5}|jj|ddddS#1swxYwYdSdS)N)dry_runz	Removing z	Creating z
Writing %swzUTF-8)encoding)r rrisdirislinkrremove_treer%existsexecuteunlinkrmakedirsrinfoopenrmetadatawrite_pkg_file)r
r fs   rrunzinstall_egg_info.run s
7==  	7)?)?	7 >>>>>
W^^F
#
#	7LLDK>+f2DEEEEt/00	7LLt'7&9$T%55
7
7
7v&&&|	=fcG444
=!*99!<<<
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=	=	=s- EE!Ec|jSr
)r!rs rget_outputszinstall_egg_info.get_outputs.s
|rN)
__name__
__module____qualname____doc__descriptionuser_optionsrr#r4r6rrrrse33LK8L   %%%===rrc.tjdd|S)zConvert an arbitrary string to a standard distribution name

    Any runs of non-alphanumeric/. characters are replaced with a single '-'.
    [^A-Za-z0-9.]+-)resubnames rrr6s
6"C...rcZ|dd}tjdd|S)zConvert 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.
     .r?r@)replacerArB)versions rrr>s,ooc#&&G
6"C111rc.|ddS)z|Convert a project or version name to its filename-escaped form

    Any '-' characters are currently replaced with '_'.
    r@_)rHrCs rrrHs
<<C   r)
r:
distutils.cmdr	distutilsrrrrrArrrrr=rr<module>rNs"""!!!!!########$$$$$w$$$V///222!!!!!r
Back to Directory File Manager