ok
Direktori : /opt/alt/python27/lib/python2.7/site-packages/setuptools/command/ |
Current File : //opt/alt/python27/lib/python2.7/site-packages/setuptools/command/develop.pyc |
� 0��`c @ s� d d l m 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 d d l m Z d d l m Z m Z m Z d d l m Z d d l Z d e f d � � YZ d e f d � � YZ d S( i����( t convert_path( t log( t DistutilsErrort DistutilsOptionErrorN( t six( t Distributiont PathMetadatat normalize_path( t easy_installt developc B s| e Z d Z d Z e j d d g Z e j d g Z e Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( s Set up package for developments% install package in 'development mode't uninstallt us Uninstall this source packages egg-path=s- Set the path to be used in the .egg-link filec C s7 | j r t | _ | j � n | j � | j � d S( N( R t Truet multi_versiont uninstall_linkt install_for_developmentt warn_deprecated_options( t self( ( sK /opt/alt/python27/lib/python2.7/site-packages/setuptools/command/develop.pyt run s c C s5 d | _ d | _ t j | � d | _ d | _ d S( Nt .( t NoneR t egg_pathR t initialize_optionst setup_patht always_copy_from( R ( ( sK /opt/alt/python27/lib/python2.7/site-packages/setuptools/command/develop.pyR % s c C s | j d � } | j rC d } | j | j f } t | | � � n | j g | _ t j | � | j � | j � | j j t j d � � | j d } t j j | j | � | _ | j | _ | j d k r� t j j | j � | _ n t | j � } t t j j | j | j � � } | | k r9t d | � � n t | t | t j j | j � � d | j �| _ | j j t j d � } | t j k r�d | j d � d } n | | _ t t j j | j | j | � � } | t t j � k r t d | t t j � � � n d S( Nt egg_infos- Please rename %r to %r before using 'develop's *.eggs .egg-linksA --egg-path must be a relative path from the install directory to t project_namet /s ../i sG Can't get a consistent path to setup script from installation directory( t get_finalized_commandt broken_egg_infoR R t egg_namet argsR t finalize_optionst expand_basedirst expand_dirst package_indext scant globt ost patht joint install_dirt egg_linkt egg_baseR R t abspathR R R R t distt replacet sept curdirt countR ( R t eit templateR t egg_link_fnt targetR t p( ( sK /opt/alt/python27/lib/python2.7/site-packages/setuptools/command/develop.pyR , sF $c C s� t j r� t | j d t � r� | j d d d �| j d � | j d � } t | j � } | j d d | �| j d � | j d d d �| j d � | j d � } | | _ | | j _ t | | j � | j _ n- | j d � | j d d d �| j d � | j � t j r7| j t j � d t _ n t j d | j | j � | j s�t | j d � �"