Your IP : 18.119.235.107
�
��f"
c @ s� d Z d d l m Z d d l m Z m Z d d l Z d d l Z d d l Z Gd d � d e � Z d d � Z
d d
� Z d d � Z d S(
u� distutils.command.install_egg_info
Implements the Distutils 'install_egg_info' command, for installing
a package's PKG-INFO metadata.i ( u Command( u logu dir_utilNc B sY | Ee Z d Z d Z d Z d g Z d d � Z d d � Z d
d � Z d d
� Z d S( u install_egg_infou) Install an .egg-info file for the packageu8 Install package's PKG-INFO metadata as an .egg-info fileu install-dir=u du directory to install toc C s
d | _ d S( N( u Noneu install_dir( u self( ( uG /opt/alt/python33/lib64/python3.3/distutils/command/install_egg_info.pyu initialize_options s u# install_egg_info.initialize_optionsc C s� | j d d � d t t | j j � � � t t | j j � � � t j d d � f } t j
j | j | � | _
| j
g | _ d S( Nu install_libu install_diru %s-%s-py%s.egg-infoi ( u install_diru install_dir( u set_undefined_optionsu to_filenameu safe_nameu distributionu get_nameu safe_versionu get_versionu sysu versionu osu pathu joinu install_diru targetu outputs( u selfu basename( ( uG /opt/alt/python33/lib64/python3.3/distutils/command/install_egg_info.pyu finalize_options s u! install_egg_info.finalize_optionsc
C s | j } t j j | � rG t j j | � rG t j | d | j �np t j j | � r| | j t j
| j f d | � n; t j j | j � s� | j t j | j f d | j � n t
j d | � | j st | d d d �� } | j j j | � Wd QXn d S( Nu dry_runu Removing u Creating u
Writing %su wu encodingu UTF-8( u targetu osu pathu isdiru islinku dir_utilu remove_treeu dry_runu existsu executeu unlinku install_diru makedirsu logu infou openu distributionu metadatau write_pkg_file( u selfu targetu f( ( uG /opt/alt/python33/lib64/python3.3/distutils/command/install_egg_info.pyu run s %# u install_egg_info.runc C s | j S( N( u outputs( u self( ( uG /opt/alt/python33/lib64/python3.3/distutils/command/install_egg_info.pyu get_outputs. s u install_egg_info.get_outputsN( u install-dir=u du directory to install to(
u __name__u
__module__u __qualname__u __doc__u descriptionu user_optionsu initialize_optionsu finalize_optionsu runu get_outputs( u
__locals__( ( uG /opt/alt/python33/lib64/python3.3/distutils/command/install_egg_info.pyu install_egg_info s
u install_egg_infoc C s t j d d | � S( u� Convert an arbitrary string to a standard distribution name
Any runs of non-alphanumeric/. characters are replaced with a single '-'.
u [^A-Za-z0-9.]+u -( u reu sub( u name( ( uG /opt/alt/python33/lib64/python3.3/distutils/command/install_egg_info.pyu safe_name6 s u safe_namec C s% | j d d � } t j d d | � S( u� 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.
u u .u [^A-Za-z0-9.]+u -( u replaceu reu sub( u version( ( uG /opt/alt/python33/lib64/python3.3/distutils/command/install_egg_info.pyu safe_version>