Ńņ
b$¶Jc        	   @   s¤   d  d k  Z  d  d k Z d  d k Z d  d k l Z d  d k l Z d e f d     YZ g  Z e i	 D]% Z
 e
 d e i j o e e
 qh qh [ e i e _	 d S(   i’’’’N(   t   install(   t   DistutilsArgErrorR    c           B   s   e  Z d  Z e i d d g Z e i d d g Z d d   f d d   f g Z e e  Z	 d	   Z
 d
   Z d   Z d   Z d   Z RS(   s7   Use easy_install to install the package, w/dependenciess   old-and-unmanageables   Try not to use this!s!   single-version-externally-manageds5   used by system package builders to create 'flat' eggst   install_egg_infoc         C   s   t  S(    (   t   True(   t   self(    (    s>   /usr/lib/python2.6/dist-packages/setuptools/command/install.pyt   <lambda>   s    t   install_scriptsc         C   s   t  S(    (   R   (   R   (    (    s>   /usr/lib/python2.6/dist-packages/setuptools/command/install.pyR      s    c         C   s,   t  i |   d  |  _ d  |  _ d  |  _ d  S(   N(   t   _installt   initialize_optionst   Nonet   old_and_unmanageablet!   single_version_externally_managedt
   no_compile(   R   (    (    s>   /usr/lib/python2.6/dist-packages/setuptools/command/install.pyR      s    		c         C   s\   t  i |   |  i o t |  _ n5 |  i o* |  i o |  i o t d   qX n d  S(   NsA   You must specify --record or --root when building system packages(   R   t   finalize_optionst   rootR   R   t   recordR   (   R   (    (    s>   /usr/lib/python2.6/dist-packages/setuptools/command/install.pyR      s    

c         C   s8   |  i  p
 |  i o t i |   Sd  |  _ d |  _ d  S(   Nt    (   R   R   R   t   handle_extra_pathR	   t	   path_filet
   extra_dirs(   R   (    (    s>   /usr/lib/python2.6/dist-packages/setuptools/command/install.pyR   '   s    	c         C   s   |  i  p
 |  i o t i |   St i d  } | i i d d  } | i i	 } | d j p | d j o t i |   n |  i
   d  S(   Ni   t   __name__R   s   distutils.distt   run_commands(   R
   R   R   t   runt   syst	   _getframet	   f_globalst   gett   f_codet   co_namet   do_egg_install(   R   t   callert   caller_modulet   caller_name(    (    s>   /usr/lib/python2.6/dist-packages/setuptools/command/install.pyR   2   s    
c         C   sĖ   |  i  i d  } | |  i  d d d |  i d |  i } | i   d | _ | i i t i d   |  i	 d  |  i  i
 d  i g } t i o | i d	 t i  n | | _ | i   d  t _ d  S(
   Nt   easy_installt   argst   xR   R   t   .s   *.eggt	   bdist_eggi    (   t   distributiont   get_command_classR   R   t   ensure_finalizedt   always_copy_fromt   package_indext   scant   globt   run_commandt   get_command_objt
   egg_outputt
   setuptoolst   bootstrap_install_fromt   insertR"   R   R	   (   R   R!   t   cmdR"   (    (    s>   /usr/lib/python2.6/dist-packages/setuptools/command/install.pyR   P   s    $
	
	
N(   s   old-and-unmanageableNs   Try not to use this!(   s!   single-version-externally-managedNs5   used by system package builders to create 'flat' eggs(   R   t
   __module__t   __doc__R   t   user_optionsR	   t   boolean_optionst   new_commandst   dictt   _ncR   R   R   R   R   (    (    (    s>   /usr/lib/python2.6/dist-packages/setuptools/command/install.pyR       s    
				i    (   R0   R   R,   t   distutils.command.installR    R   t   distutils.errorsR   t   _[1]t   sub_commandsR3   R:   R8   (    (    (    s>   /usr/lib/python2.6/dist-packages/setuptools/command/install.pyt   <module>   s
   $e9