Ñò
•èRc        	   @   s‚   d  d k  Z  d  d k l Z l Z d  d k l Z l Z d  d k l Z d  d k	 l
 Z
 d  d k l Z d e f d „  ƒ  YZ d S(	   iÿÿÿÿN(   t   build_prefixt
   src_prefix(   t   display_patht
   backup_dir(   t   logger(   t   InstallationError(   t   InstallCommandt   BundleCommandc           B   s8   e  Z d  Z d Z d Z d Z e Z d „  Z d „  Z	 RS(   s9   Create pybundles (archives containing multiple packages).t   bundles:   
      %prog [options] <bundle name>.pybundle <package>...s   Create pybundles.c         O   s   t  t |  ƒ i | | Ž  |  i i d ƒ } t t d ƒ | _ |  i i d ƒ } t t d ƒ | _ |  i i	 h | i | i
 6| i | i
 6  d  S(   Ns   --builds   -bundles   --src(   t   superR   t   __init__t   parsert
   get_optionR   R    t   defaultR   t   set_defaultst   dest(   t   selft   argst   kwt	   build_optt   src_opt(    (    sO   /var/www/html/kasc-wg8/erics/lib/python2.6/site-packages/pip/commands/bundle.pyR
      s    c         C   s–   t  i d ƒ } t i | ƒ | p t d ƒ ‚ n t | _ t i d t | i ƒ t | i	 ƒ f ƒ | i
 d ƒ |  _ t t |  ƒ i | | ƒ } | S(   Nsë  

            ###############################################
            ##                                           ##
            ##  Due to lack of interest and maintenance, ##
            ##  'pip bundle' and support for installing  ##
            ##  from *.pybundle files is now deprecated, ##
            ##  and will be removed in pip v1.5.         ##
            ##                                           ##
            ###############################################

        s   You must give a bundle filenamesB   Putting temporary build files in %s and source/develop files in %si    (   t   textwrapt   dedentR   t   notifyR   t   Truet   ignore_installedR   t	   build_dirt   src_dirt   popt   bundle_filenameR	   R   t   run(   R   t   optionsR   t   deprecationt   requirement_set(    (    sO   /var/www/html/kasc-wg8/erics/lib/python2.6/site-packages/pip/commands/bundle.pyR      s    			 (
   t   __name__t
   __module__t   __doc__t   namet   usaget   summaryR   R   R
   R   (    (    (    sO   /var/www/html/kasc-wg8/erics/lib/python2.6/site-packages/pip/commands/bundle.pyR   	   s   	(   R   t   pip.locationsR    R   t   pip.utilR   R   t   pip.logR   t   pip.exceptionsR   t   pip.commands.installR   R   (    (    (    sO   /var/www/html/kasc-wg8/erics/lib/python2.6/site-packages/pip/commands/bundle.pyt   <module>   s   