Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Public Member Functions | Static Public Attributes | Private Member Functions | List of all members
pip.commands.install.InstallCommand Class Reference
Inheritance diagram for pip.commands.install.InstallCommand:
pip.basecommand.Command _object pip.commands.bundle.BundleCommand

Public Member Functions

def __init__
 
def run
 
- Public Member Functions inherited from pip.basecommand.Command
def __init__
 
def setup_logging
 
def parse_args
 
def main
 

Static Public Attributes

string name = 'install'
 
string usage
 
string summary = 'Install packages.'
 
 bundle = False
 
- Static Public Attributes inherited from pip.basecommand.Command
 name = None
 
 usage = None
 
 hidden = False
 

Private Member Functions

def _build_package_finder
 

Additional Inherited Members

- Public Attributes inherited from pip.basecommand.Command
 parser
 
 cmd_opts
 

Detailed Description

Install packages from:

- PyPI (and other indexes) using requirement specifiers.
- VCS project urls.
- Local project directories.
- Local or remote source archives.

pip also supports installing from "requirements files", which provide
an easy way to specify a whole environment to be installed.

Constructor & Destructor Documentation

def pip.commands.install.InstallCommand.__init__ (   self,
  args,
  kw 
)

Member Function Documentation

def pip.commands.install.InstallCommand._build_package_finder (   self,
  options,
  index_urls,
  session 
)
private
Create a package finder appropriate to this install command.
This method is meant to be overridden by subclasses, not
called directly.
def pip.commands.install.InstallCommand.run (   self,
  options,
  args 
)

Member Data Documentation

pip.commands.install.InstallCommand.bundle = False
static
string pip.commands.install.InstallCommand.name = 'install'
static
string pip.commands.install.InstallCommand.summary = 'Install packages.'
static
string pip.commands.install.InstallCommand.usage
static
Initial value:
1 = """
2  %prog [options] <requirement specifier> ...
3  %prog [options] -r <requirements file> ...
4  %prog [options] [-e] <vcs project url> ...
5  %prog [options] [-e] <local project path> ...
6  %prog [options] <archive url/path> ..."""

The documentation for this class was generated from the following file:

Copyright 2014 Google Inc. All rights reserved.