File "install_egg_info.cpython-37.pyc"
Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/opt/alt/python37/lib64/python3.7/distutils/command/__pycache__/install_egg_info.cpython-37.pyc
File size: 2.91 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit
B
f+
@ sd d Z ddlmZ ddlmZmZ ddlZddlZddlZG dd deZ dd Z
d d
Zdd ZdS )
zdistutils.command.install_egg_info
Implements the Distutils 'install_egg_info' command, for installing
a package's PKG-INFO metadata. )Command)logdir_utilNc @ s: e Zd ZdZdZdgZdd Zdd Zdd Zd
d Z dS )
install_egg_infoz)Install an .egg-info file for the packagez8Install package's PKG-INFO metadata as an .egg-info file)zinstall-dir=dzdirectory to install toc C s
d | _ d S )N)install_dir)self r G/opt/alt/python37/lib64/python3.7/distutils/command/install_egg_info.pyinitialize_options s z#install_egg_info.initialize_optionsc C sb | dd dtt| j tt| j ftjd d }t j
| j|| _
| j
g| _d S )NZinstall_lib)r r z%s-%s-py%d.%d.egg-info )Zset_undefined_optionsto_filename safe_namedistributionZget_namesafe_versionZget_versionsysversion_infoospathjoinr targetoutputs)r basenamer r r
finalize_options s z!install_egg_info.finalize_optionsc C s | j }tj|r0tj|s0tj|| jd nNtj|rV| tj
| j fd| n(tj| js~| tj| jfd| j t
d| | jst|ddd}| jj| W d Q R X d S )N)dry_runz Removing z Creating z
Writing %swzUTF-8)encoding)r r r isdirislinkr Zremove_treer existsZexecuteunlinkr makedirsr infoopenr ZmetadataZwrite_pkg_file)r r fr r r
run s zinstall_egg_info.runc C s | j S )N)r )r r r r
get_outputs. s zinstall_egg_info.get_outputsN)
__name__
__module____qualname____doc__ZdescriptionZuser_optionsr r r% r&