Your IP : 3.145.12.233


Current Path : /opt/alt/python33/lib64/python3.3/distutils/command/__pycache__/
Upload File :
Current File : //opt/alt/python33/lib64/python3.3/distutils/command/__pycache__/install_egg_info.cpython-33.pyc

�
��f"
c@s�dZddlmZddlmZmZddlZddlZddlZGdd�de�Z	dd�Z
d	d
�Zdd�ZdS(
u�distutils.command.install_egg_info

Implements the Distutils 'install_egg_info' command, for installing
a package's PKG-INFO metadata.i(uCommand(ulogudir_utilNcBsY|EeZdZdZdZdgZdd�Zdd	�Zd
d�Zdd
�Z	dS(uinstall_egg_infou)Install an .egg-info file for the packageu8Install package's PKG-INFO metadata as an .egg-info fileuinstall-dir=ududirectory to install tocCs
d|_dS(N(uNoneuinstall_dir(uself((uG/opt/alt/python33/lib64/python3.3/distutils/command/install_egg_info.pyuinitialize_optionssu#install_egg_info.initialize_optionscCs�|jdd�dtt|jj���tt|jj���tjdd�f}t	j
j|j|�|_
|j
g|_dS(Nuinstall_libuinstall_diru%s-%s-py%s.egg-infoi(uinstall_diruinstall_dir(uset_undefined_optionsuto_filenameu	safe_nameudistributionuget_nameusafe_versionuget_versionusysuversionuosupathujoinuinstall_dirutargetuoutputs(uselfubasename((uG/opt/alt/python33/lib64/python3.3/distutils/command/install_egg_info.pyufinalize_optionssu!install_egg_info.finalize_optionsc
Cs|j}tjj|�rGtjj|�rGtj|d|j�nptjj|�r||j	tj
|jfd|�n;tjj|j�s�|j	tj|jfd|j�nt
jd|�|jst|ddd��}|jjj|�WdQXndS(Nudry_runu	Removing u	Creating u
Writing %suwuencodinguUTF-8(utargetuosupathuisdiruislinkudir_utiluremove_treeudry_runuexistsuexecuteuunlinkuinstall_dirumakedirsuloguinfouopenudistributionumetadatauwrite_pkg_file(uselfutargetuf((uG/opt/alt/python33/lib64/python3.3/distutils/command/install_egg_info.pyurun s	%#	uinstall_egg_info.runcCs|jS(N(uoutputs(uself((uG/opt/alt/python33/lib64/python3.3/distutils/command/install_egg_info.pyuget_outputs.suinstall_egg_info.get_outputsN(uinstall-dir=ududirectory to install to(
u__name__u
__module__u__qualname__u__doc__udescriptionuuser_optionsuinitialize_optionsufinalize_optionsurunuget_outputs(u
__locals__((uG/opt/alt/python33/lib64/python3.3/distutils/command/install_egg_info.pyuinstall_egg_infos	
uinstall_egg_infocCstjdd|�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-(ureusub(uname((uG/opt/alt/python33/lib64/python3.3/distutils/command/install_egg_info.pyu	safe_name6su	safe_namecCs%|jdd�}tjdd|�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-(ureplaceureusub(uversion((uG/opt/alt/python33/lib64/python3.3/distutils/command/install_egg_info.pyusafe_version>susafe_versioncCs|jdd�S(u|Convert a project or version name to its filename-escaped form

    Any '-' characters are currently replaced with '_'.
    u-u_(ureplace(uname((uG/opt/alt/python33/lib64/python3.3/distutils/command/install_egg_info.pyuto_filenameHsuto_filename(
u__doc__u
distutils.cmduCommandu	distutilsulogudir_utiluosusysureuinstall_egg_infou	safe_nameusafe_versionuto_filename(((uG/opt/alt/python33/lib64/python3.3/distutils/command/install_egg_info.pyu<module>s$+

?>