AlkantarClanX12
Current Path : /opt/alt/python34/lib/python3.4/site-packages/pip/commands/__pycache__/ |
Current File : //opt/alt/python34/lib/python3.4/site-packages/pip/commands/__pycache__/bundle.cpython-34.pyc |
� �Re� � @ s� d d l Z d d l m Z m Z d d l m Z m Z d d l m Z d d l m Z d d l m Z Gd d � d e � Z d S) � N)�build_prefix� src_prefix)�display_path� backup_dir)�logger)�InstallationError)�InstallCommandc sR e Z d Z d Z d Z d Z d Z d Z � f d d � Z � f d d � Z � S) � BundleCommandz9Create pybundles (archives containing multiple packages).�bundlez: %prog [options] <bundle name>.pybundle <package>...zDEPRECATED. Create pybundles.Tc s� t t | � j | | � | j j d � } t t d � | _ | j j d � } t t d � | _ | j j i | j | j 6| j | j 6� d S)Nz--buildz-bundlez--src)�superr �__init__�parser� get_optionr r �defaultr �set_defaults�dest)�self�args�kw� build_opt�src_opt)� __class__� �./tmp/pip-ztkk0jow-build/pip/commands/bundle.pyr s zBundleCommand.__init__c s� t j d d � | s% t d � � n d | _ t j d t | j � t | j � f � | j d � | _ t t | � j | | � } | S)Nz1.6z�DEPRECATION: 'pip bundle' and support for installing from *.pybundle files is deprecated. See https://github.com/pypa/pip/pull/1046zYou must give a bundle filenameTzBPutting temporary build files in %s and source/develop files in %sr ) r � deprecatedr �ignore_installed�notifyr � build_dir�src_dir�pop�bundle_filenamer r �run)r �optionsr �requirement_set)r r r r! s zBundleCommand.run) �__name__� __module__�__qualname__�__doc__�name�usage�summaryr r r! r r )r r r s r )�textwrap� pip.locationsr r �pip.utilr r �pip.logr �pip.exceptionsr �pip.commands.installr r r r r r �<module> s