Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Classes | Functions | Variables
pip.req Namespace Reference

Classes

class  InstallRequirement
 
class  Requirements
 
class  RequirementSet
 
class  UninstallPathSet
 
class  UninstallPthEntries
 
class  FakeFile
 

Functions

def read_text_file
 
def _make_build_dir
 
def parse_requirements
 
def _strip_postfix
 
def _build_req_from_url
 
def _build_editable_options
 
def parse_editable
 

Variables

tuple _scheme_re = re.compile(r'^(http|https|file):', re.I)
 

Function Documentation

def pip.req._build_editable_options (   req)
private
    This method generates a dictionary of the query string
    parameters contained in a given editable URL.
def pip.req._build_req_from_url (   url)
private
def pip.req._make_build_dir (   build_dir)
private
def pip.req._strip_postfix (   req)
private
    Strip req postfix ( -dev, 0.2, etc )
def pip.req.parse_editable (   editable_req,
  default_vcs = None 
)
Parses svn+http://blahblah@rev#egg=Foobar into a requirement
(Foobar) and a URL
def pip.req.parse_requirements (   filename,
  finder = None,
  comes_from = None,
  options = None,
  session = None 
)
def pip.req.read_text_file (   filename)
Return the contents of *filename*.

Try to decode the file contents with utf-8, the preffered system encoding
(e.g., cp1252 on some Windows machines) and latin1, in that order. Decoding
a byte string with latin1 will never raise an error. In the worst case, the
returned string will contain some garbage characters.

Variable Documentation

tuple pip.req._scheme_re = re.compile(r'^(http|https|file):', re.I)

Copyright 2014 Google Inc. All rights reserved.