�ɲɾ�����ӯ�����һ��ˣ��������С���˴��ͣ�������P���ҹ��ñ˽��ά�Բ��������˸߸ԣ�������ơ��ҹ��ñ�����ά�Բ���ˡ���˳^�ӣ������ӡ� ���ͯj�ӣ��ƺ���ӣ� ? PNG ?%k25u25%fgd5n!? PNG ?%k25u25%fgd5n!? PNG ?%k25u25%fgd5n!? PNG ?%k25u25%fgd5n!usr/lib64/python2.7/pydoc_data/__init__.pyo000064400000000202152525377430014453 0ustar00 |fc@sdS(N((((s+/usr/lib64/python2.7/pydoc_data/__init__.pyttusr/lib64/python2.7/xml/dom/__init__.pyo000064400000014517152525733400013732 0ustar00 {fc@s:dZdd=dYZdZdZdZdZdZdZd Zd Z d Z d Z d Z dZ dZdZdZdZdefdYZdefdYZdefdYZdefdYZdefdYZdefdYZdefd YZd!efd"YZd#efd$YZd%efd&YZd'efd(YZd)efd*YZd+efd,YZd-efd.YZ d/efd0YZ!d1efd2YZ"d3efd4YZ#d5d>d6YZ$d7Z%d8Z&d9Z'd<Z)d<Z*d:d;l+m,Z,m-Z-d<S(?s W3C Document Object Model implementation for Python. The Python mapping of the Document Object Model is documented in the Python Library Reference in the section on the xml.dom package. This package contains the following modules: minidom -- A simple implementation of the Level 1 DOM with namespace support added (based on the Level 2 specification) and other minor Level 2 functionality. pulldom -- DOM builder supporting on-demand tree-building for selected subtrees of the document. tNodecBsVeZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d ZRS( s$Class giving the NodeType constants.iiiiiiiii i i i (t__name__t __module__t__doc__t ELEMENT_NODEtATTRIBUTE_NODEt TEXT_NODEtCDATA_SECTION_NODEtENTITY_REFERENCE_NODEt ENTITY_NODEtPROCESSING_INSTRUCTION_NODEt COMMENT_NODEt DOCUMENT_NODEtDOCUMENT_TYPE_NODEtDOCUMENT_FRAGMENT_NODEt NOTATION_NODE(((s(/usr/lib64/python2.7/xml/dom/__init__.pyRs iiiiiiiii i i i i iiit DOMExceptioncBs eZdZdZdZRS(smAbstract base class for DOM exceptions. Exceptions with specific codes are specializations of this class.cOs5|jtkrtdntj|||dS(Ns0DOMException should not be instantiated directly(t __class__Rt RuntimeErrort Exceptiont__init__(tselftargstkw((s(/usr/lib64/python2.7/xml/dom/__init__.pyRAs cCs|jS(N(tcode(R((s(/usr/lib64/python2.7/xml/dom/__init__.pyt _get_codeGs(RRRRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR=s t IndexSizeErrcBseZeZRS((RRtINDEX_SIZE_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyRKstDomstringSizeErrcBseZeZRS((RRtDOMSTRING_SIZE_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyRNstHierarchyRequestErrcBseZeZRS((RRtHIERARCHY_REQUEST_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyRQstWrongDocumentErrcBseZeZRS((RRtWRONG_DOCUMENT_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR TstInvalidCharacterErrcBseZeZRS((RRtINVALID_CHARACTER_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR"WstNoDataAllowedErrcBseZeZRS((RRtNO_DATA_ALLOWED_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR$ZstNoModificationAllowedErrcBseZeZRS((RRtNO_MODIFICATION_ALLOWED_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR&]st NotFoundErrcBseZeZRS((RRt NOT_FOUND_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR(`stNotSupportedErrcBseZeZRS((RRtNOT_SUPPORTED_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR*cstInuseAttributeErrcBseZeZRS((RRtINUSE_ATTRIBUTE_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR,fstInvalidStateErrcBseZeZRS((RRtINVALID_STATE_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR.ist SyntaxErrcBseZeZRS((RRt SYNTAX_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR0lstInvalidModificationErrcBseZeZRS((RRtINVALID_MODIFICATION_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR2ost NamespaceErrcBseZeZRS((RRt NAMESPACE_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR4rstInvalidAccessErrcBseZeZRS((RRtINVALID_ACCESS_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR6ust ValidationErrcBseZeZRS((RRtVALIDATION_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR8xstUserDataHandlercBs&eZdZdZdZdZdZRS(sBClass giving the operation constants for UserDataHandler.handle().iiii(RRRt NODE_CLONEDt NODE_IMPORTEDt NODE_DELETEDt NODE_RENAMED(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR:{s s$http://www.w3.org/XML/1998/namespaceshttp://www.w3.org/2000/xmlns/shttp://www.w3.org/1999/xhtmli(tgetDOMImplementationtregisterDOMImplementationN(((.RRRRRR!R#R%R'R)R+R-R/R1R3R5R7R9RRRRRR R"R$R&R(R*R,R.R0R2R4R6R8R:t XML_NAMESPACEtXMLNS_NAMESPACEtXHTML_NAMESPACEtNonetEMPTY_NAMESPACEt EMPTY_PREFIXtdomregR?R@(((s(/usr/lib64/python2.7/xml/dom/__init__.pytsR usr/lib/python2.7/site-packages/pip/req/__init__.pyo000064400000000742152527106720016274 0ustar00 abc@@s\ddlmZddlmZddlmZmZddlmZdddd gZ d S( i(tabsolute_importi(tInstallRequirement(tRequirementSett Requirements(tparse_requirementsRRRRN( t __future__Rt req_installRtreq_setRRtreq_fileRt__all__(((s4/usr/lib/python2.7/site-packages/pip/req/__init__.pyts  usr/lib64/python2.7/json/__init__.pyo000064400000033146152527127320013323 0ustar00 {fc@s,dZdZddddddgZdZd d lmZd d lmZed ed e de de ddddddddZ ee e e ddddded Z ee e e ddddded Z eddddddZddddddddZddddddddZdS(s JSON (JavaScript Object Notation) is a subset of JavaScript syntax (ECMA-262 3rd edition) used as a lightweight data interchange format. :mod:`json` exposes an API familiar to users of the standard library :mod:`marshal` and :mod:`pickle` modules. It is the externally maintained version of the :mod:`json` library contained in Python 2.6, but maintains compatibility with Python 2.4 and Python 2.5 and (currently) has significant performance advantages, even without using the optional C extension for speedups. Encoding basic Python object hierarchies:: >>> import json >>> json.dumps(['foo', {'bar': ('baz', None, 1.0, 2)}]) '["foo", {"bar": ["baz", null, 1.0, 2]}]' >>> print json.dumps("\"foo\bar") "\"foo\bar" >>> print json.dumps(u'\u1234') "\u1234" >>> print json.dumps('\\') "\\" >>> print json.dumps({"c": 0, "b": 0, "a": 0}, sort_keys=True) {"a": 0, "b": 0, "c": 0} >>> from StringIO import StringIO >>> io = StringIO() >>> json.dump(['streaming API'], io) >>> io.getvalue() '["streaming API"]' Compact encoding:: >>> import json >>> json.dumps([1,2,3,{'4': 5, '6': 7}], sort_keys=True, separators=(',',':')) '[1,2,3,{"4":5,"6":7}]' Pretty printing:: >>> import json >>> print json.dumps({'4': 5, '6': 7}, sort_keys=True, ... indent=4, separators=(',', ': ')) { "4": 5, "6": 7 } Decoding JSON:: >>> import json >>> obj = [u'foo', {u'bar': [u'baz', None, 1.0, 2]}] >>> json.loads('["foo", {"bar":["baz", null, 1.0, 2]}]') == obj True >>> json.loads('"\\"foo\\bar"') == u'"foo\x08ar' True >>> from StringIO import StringIO >>> io = StringIO('["streaming API"]') >>> json.load(io)[0] == 'streaming API' True Specializing JSON object decoding:: >>> import json >>> def as_complex(dct): ... if '__complex__' in dct: ... return complex(dct['real'], dct['imag']) ... return dct ... >>> json.loads('{"__complex__": true, "real": 1, "imag": 2}', ... object_hook=as_complex) (1+2j) >>> from decimal import Decimal >>> json.loads('1.1', parse_float=Decimal) == Decimal('1.1') True Specializing JSON object encoding:: >>> import json >>> def encode_complex(obj): ... if isinstance(obj, complex): ... return [obj.real, obj.imag] ... raise TypeError(repr(obj) + " is not JSON serializable") ... >>> json.dumps(2 + 1j, default=encode_complex) '[2.0, 1.0]' >>> json.JSONEncoder(default=encode_complex).encode(2 + 1j) '[2.0, 1.0]' >>> ''.join(json.JSONEncoder(default=encode_complex).iterencode(2 + 1j)) '[2.0, 1.0]' Using json.tool from the shell to validate and pretty-print:: $ echo '{"json":"obj"}' | python -m json.tool { "json": "obj" } $ echo '{ 1.2:3.4}' | python -m json.tool Expecting property name enclosed in double quotes: line 1 column 3 (char 2) s2.0.9tdumptdumpstloadtloadst JSONDecodert JSONEncodersBob Ippolito i(R(Rtskipkeyst ensure_asciitcheck_circulart allow_nantindentt separatorstencodingsutf-8tdefaultc Ks| ru|ru|ru|ru|d kru|d kru|d kru| dkru| d kru| ru| rutj|} n`|d krt}n|d|d|d|d|d|d|d| d | d | | j|} x| D]}|j|qWd S( s Serialize ``obj`` as a JSON formatted stream to ``fp`` (a ``.write()``-supporting file-like object). If ``skipkeys`` is true then ``dict`` keys that are not basic types (``str``, ``unicode``, ``int``, ``long``, ``float``, ``bool``, ``None``) will be skipped instead of raising a ``TypeError``. If ``ensure_ascii`` is true (the default), all non-ASCII characters in the output are escaped with ``\uXXXX`` sequences, and the result is a ``str`` instance consisting of ASCII characters only. If ``ensure_ascii`` is false, some chunks written to ``fp`` may be ``unicode`` instances. This usually happens because the input contains unicode strings or the ``encoding`` parameter is used. Unless ``fp.write()`` explicitly understands ``unicode`` (as in ``codecs.getwriter``) this is likely to cause an error. If ``check_circular`` is false, then the circular reference check for container types will be skipped and a circular reference will result in an ``OverflowError`` (or worse). If ``allow_nan`` is false, then it will be a ``ValueError`` to serialize out of range ``float`` values (``nan``, ``inf``, ``-inf``) in strict compliance of the JSON specification, instead of using the JavaScript equivalents (``NaN``, ``Infinity``, ``-Infinity``). If ``indent`` is a non-negative integer, then JSON array elements and object members will be pretty-printed with that indent level. An indent level of 0 will only insert newlines. ``None`` is the most compact representation. Since the default item separator is ``', '``, the output might include trailing whitespace when ``indent`` is specified. You can use ``separators=(',', ': ')`` to avoid this. If ``separators`` is an ``(item_separator, dict_separator)`` tuple then it will be used instead of the default ``(', ', ': ')`` separators. ``(',', ':')`` is the most compact JSON representation. ``encoding`` is the character encoding for str instances, default is UTF-8. ``default(obj)`` is a function that should return a serializable version of obj or raise TypeError. The default simply raises TypeError. If *sort_keys* is true (default: ``False``), then the output of dictionaries will be sorted by key. To use a custom ``JSONEncoder`` subclass (e.g. one that overrides the ``.default()`` method to serialize additional types), specify it with the ``cls`` kwarg; otherwise ``JSONEncoder`` is used. sutf-8RRRR R R R R t sort_keysN(tNonet_default_encodert iterencodeRtwrite(tobjtfpRRRR tclsR R R R Rtkwtiterabletchunk((s%/usr/lib64/python2.7/json/__init__.pyRzs5  $&    c Ks| rp|rp|rp|rp|d krp|d krp|d krp|dkrp| d krp| rp| rptj|S|d krt}n|d|d|d|d|d|d|d|d | d | | j|S( sSerialize ``obj`` to a JSON formatted ``str``. If ``skipkeys`` is true then ``dict`` keys that are not basic types (``str``, ``unicode``, ``int``, ``long``, ``float``, ``bool``, ``None``) will be skipped instead of raising a ``TypeError``. If ``ensure_ascii`` is false, all non-ASCII characters are not escaped, and the return value may be a ``unicode`` instance. See ``dump`` for details. If ``check_circular`` is false, then the circular reference check for container types will be skipped and a circular reference will result in an ``OverflowError`` (or worse). If ``allow_nan`` is false, then it will be a ``ValueError`` to serialize out of range ``float`` values (``nan``, ``inf``, ``-inf``) in strict compliance of the JSON specification, instead of using the JavaScript equivalents (``NaN``, ``Infinity``, ``-Infinity``). If ``indent`` is a non-negative integer, then JSON array elements and object members will be pretty-printed with that indent level. An indent level of 0 will only insert newlines. ``None`` is the most compact representation. Since the default item separator is ``', '``, the output might include trailing whitespace when ``indent`` is specified. You can use ``separators=(',', ': ')`` to avoid this. If ``separators`` is an ``(item_separator, dict_separator)`` tuple then it will be used instead of the default ``(', ', ': ')`` separators. ``(',', ':')`` is the most compact JSON representation. ``encoding`` is the character encoding for str instances, default is UTF-8. ``default(obj)`` is a function that should return a serializable version of obj or raise TypeError. The default simply raises TypeError. If *sort_keys* is true (default: ``False``), then the output of dictionaries will be sorted by key. To use a custom ``JSONEncoder`` subclass (e.g. one that overrides the ``.default()`` method to serialize additional types), specify it with the ``cls`` kwarg; otherwise ``JSONEncoder`` is used. sutf-8RRRR R R R R RN(RRtencodeR( RRRRR RR R R R RR((s%/usr/lib64/python2.7/json/__init__.pyRs/  $&    t object_hooktobject_pairs_hookc Ks=t|jd|d|d|d|d|d|d||S(sDeserialize ``fp`` (a ``.read()``-supporting file-like object containing a JSON document) to a Python object. If the contents of ``fp`` is encoded with an ASCII based encoding other than utf-8 (e.g. latin-1), then an appropriate ``encoding`` name must be specified. Encodings that are not ASCII based (such as UCS-2) are not allowed, and should be wrapped with ``codecs.getreader(fp)(encoding)``, or simply decoded to a ``unicode`` object and passed to ``loads()`` ``object_hook`` is an optional function that will be called with the result of any object literal decode (a ``dict``). The return value of ``object_hook`` will be used instead of the ``dict``. This feature can be used to implement custom decoders (e.g. JSON-RPC class hinting). ``object_pairs_hook`` is an optional function that will be called with the result of any object literal decoded with an ordered list of pairs. The return value of ``object_pairs_hook`` will be used instead of the ``dict``. This feature can be used to implement custom decoders that rely on the order that the key and value pairs are decoded (for example, collections.OrderedDict will remember the order of insertion). If ``object_hook`` is also defined, the ``object_pairs_hook`` takes priority. To use a custom ``JSONDecoder`` subclass, specify it with the ``cls`` kwarg; otherwise ``JSONDecoder`` is used. R RRt parse_floatt parse_inttparse_constantR(Rtread( RR RRRRRRR((s%/usr/lib64/python2.7/json/__init__.pyRs   c Ks|dkrh|dkrh|dkrh|dkrh|dkrh|dkrh|dkrh| rhtj|S|dkr}t}n|dk r||dcs6     E  ;  # usr/lib64/python2.7/sqlite3/__init__.pyo000064400000000244152527364520013734 0ustar00 {fc@sddlTdS(i(t*N(tdbapi2(((s(/usr/lib64/python2.7/sqlite3/__init__.pyttusr/lib64/python2.7/compiler/__init__.pyo000064400000002421152527405240014154 0ustar00 {fc@shdZddlZejdeddddlmZmZddlmZddl m Z m Z dS( sPackage for parsing and compiling Python source code There are several functions defined at the top level that are imported from modules contained in the package. parse(buf, mode="exec") -> AST Converts a string containing Python source code to an abstract syntax tree (AST). The AST is defined in compiler.ast. parseFile(path) -> AST The same as parse(open(path)) walk(ast, visitor, verbose=None) Does a pre-order walk over the ast using the visitor instance. See compiler.visitor for details. compile(source, filename, mode, flags=None, dont_inherit=None) Returns a code object. A replacement for the builtin compile() function. compileFile(filename) Generates a .pyc file by compiling filename. iNs=The compiler package is deprecated and removed in Python 3.x.t stackleveli(tparset parseFile(twalk(tcompilet compileFile( t__doc__twarningstwarntDeprecationWarningtcompiler.transformerRRtcompiler.visitorRtcompiler.pycodegenRR(((s)/usr/lib64/python2.7/compiler/__init__.pyts    usr/lib64/python2.7/test/__init__.pyo000064400000000174152527576600013335 0ustar00 zfc@sdS(N((((s%/usr/lib64/python2.7/test/__init__.pyttusr/lib64/python2.7/logging/__init__.pyo000064400000160300152527661040013773 0ustar00 {fc%@sdZddlZddlZddlZddlZddlZddlZddlZddlZddddddd d d d d ddddddddddddddddddd d!d"d#d$d%d&d'g%Z yddl Z Wne k re Z nXyddl Z ddlZWne k r:e Z nXd(Zd)Zd*Zd+ZyeeZWnek rzeZnXd,Zeed-rd.ZnejjejjZejZd/Z d/Z!d/Z"d/Z#d0Z$e$Z%d1Z&d2Z'e'Z(d3Z)d4Z*d5Z+i de$6de&6de'6d e)6de*6de+6e$d6e&d6e'd6e'd6e)d 6e*d6e+d6Z,d6Z-d7Z.d8Z/e rej0Z1ne Z1d9Z2d:Z3de4fd;YZ5d<Z6d e4fd=YZ7e7Z8de4fd>YZ9d e4fd?YZ:d@e4fdAYZ;ej<Z=gZ>dBZ?dCZ@d e;fdDYZAdeAfdEYZBd eBfdFYZCdGe4fdHYZDe aEdIZFdJZGdKe4fdLYZHde;fdMYZIdNeIfdOYZJeIaEde4fdPYZKeJe'ZLeLeI_LeHeIjLeI_MdQZNdRZOe dSZPdTZQeQZRdUZSdVZTdWZUeUZVdXZWdYZXdZZYd[ZZe>d\Z[ddl\Z\e\j]e[deAfd]YZ^e a_e e d^Z`d_ZadS(`s Logging package for Python. Based on PEP 282 and comments thereto in comp.lang.python. Copyright (C) 2001-2014 Vinay Sajip. All Rights Reserved. To use, simply 'import logging' and log away! iNt BASIC_FORMATtBufferingFormattertCRITICALtDEBUGtERRORtFATALt FileHandlertFiltert FormattertHandlertINFOt LogRecordtLoggert LoggerAdaptertNOTSETt NullHandlert StreamHandlertWARNtWARNINGt addLevelNamet basicConfigtcaptureWarningstcriticaltdebugtdisableterrort exceptiontfatalt getLevelNamet getLoggertgetLoggerClasstinfotlogt makeLogRecordtsetLoggerClasstwarntwarnings&Vinay Sajip t productions0.5.1.2s07 February 2010cCs)y tWntjdjjSXdS(s5Return the frame object for the caller's stack frame.iN(t Exceptiontsystexc_infottb_frametf_back(((s(/usr/lib64/python2.7/logging/__init__.pyt currentframe?s t _getframecCs tjdS(Ni(R'R,(((s(/usr/lib64/python2.7/logging/__init__.pytFtii2i(iii icCstj|d|S(s Return the textual representation of logging level 'level'. If the level is one of the predefined levels (CRITICAL, ERROR, WARNING, INFO, DEBUG) then you get the corresponding string. If you have associated levels with names using addLevelName then the name you have associated with 'level' is returned. If a numeric value corresponding to one of the defined levels is passed in, the corresponding string representation is returned. Otherwise, the string "Level %s" % level is returned. sLevel %s(t _levelNamestget(tlevel((s(/usr/lib64/python2.7/logging/__init__.pyRscCs.tz|t|<|t|(RDRKRLRVRE(Rj((s(/usr/lib64/python2.7/logging/__init__.pyt__str__4scCstst|j}nK|j}t|tscyt|j}Wqctk r_|j}qcXn|jr|||j}n|S(s Return the message for this LogRecord. Return the message for this LogRecord after merging any user-supplied arguments with the message. (t_unicodeR8RER5t basestringt UnicodeErrorRI(RjRE((s(/usr/lib64/python2.7/logging/__init__.pyt getMessage8s   N(t__name__t __module__t__doc__RTRnRoRs(((s(/usr/lib64/python2.7/logging/__init__.pyR s  F c Cs5tdddddddd}|jj||S(s Make a LogRecord whose attributes are defined by the specified dictionary, This function is useful for converting a logging event received over a socket connection (which is sent as a dictionary) into a LogRecord instance. R.iN((R RTt__dict__tupdate(tdictR;((s(/usr/lib64/python2.7/logging/__init__.pyR!Ls!cBsMeZdZejZdddZddZdZ dZ dZ RS(s Formatter instances are used to convert a LogRecord to text. Formatters need to know how a LogRecord is constructed. They are responsible for converting a LogRecord to (usually) a string which can be interpreted by either a human or an external system. The base Formatter allows a formatting string to be specified. If none is supplied, the default value of "%s(message)\n" is used. The Formatter can be initialized with a format string which makes use of knowledge of the LogRecord attributes - e.g. the default value mentioned above makes use of the fact that the user's message and arguments are pre- formatted into a LogRecord's message attribute. Currently, the useful attributes in a LogRecord are described by: %(name)s Name of the logger (logging channel) %(levelno)s Numeric logging level for the message (DEBUG, INFO, WARNING, ERROR, CRITICAL) %(levelname)s Text logging level for the message ("DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL") %(pathname)s Full pathname of the source file where the logging call was issued (if available) %(filename)s Filename portion of pathname %(module)s Module (name portion of filename) %(lineno)d Source line number where the logging call was issued (if available) %(funcName)s Function name %(created)f Time when the LogRecord was created (time.time() return value) %(asctime)s Textual time when the LogRecord was created %(msecs)d Millisecond portion of the creation time %(relativeCreated)d Time in milliseconds when the LogRecord was created, relative to the time the logging module was loaded (typically at application startup time) %(thread)d Thread ID (if available) %(threadName)s Thread name (if available) %(process)d Process ID (if available) %(message)s The result of record.getMessage(), computed just as the record is emitted cCs(|r||_n d|_||_dS(s8 Initialize the formatter with specified format strings. Initialize the formatter either with the specified format string, or a default as described above. Allow for specialized date formatting with the optional datefmt argument (if omitted, you get the ISO8601 format). s %(message)sN(t_fmttdatefmt(RjtfmtR{((s(/usr/lib64/python2.7/logging/__init__.pyRns  cCsV|j|j}|r-tj||}n%tjd|}d||jf}|S(s Return the creation time of the specified LogRecord as formatted text. This method should be called from format() by a formatter which wants to make use of a formatted time. This method can be overridden in formatters to provide for any specific requirement, but the basic behaviour is as follows: if datefmt (a string) is specified, it is used with time.strftime() to format the creation time of the record. Otherwise, the ISO8601 format is used. The resulting string is returned. This function uses a user-configurable function to convert the creation time to a tuple. By default, time.localtime() is used; to change this for a particular formatter instance, set the 'converter' attribute to a function with the same signature as time.localtime() or time.gmtime(). To change it for all formatters, for example if you want all logging times to be shown in GMT, set the 'converter' attribute in the Formatter class. s%Y-%m-%d %H:%M:%Ss%s,%03d(t converterRXRCtstrftimeRY(RjtrecordR{Rltstt((s(/usr/lib64/python2.7/logging/__init__.pyt formatTimes cCshtj}tj|d|d|dd||j}|j|ddkrd|d }n|S(s Format and return the specified exception information as a string. This default implementation just uses traceback.print_exception() iiiis N(t cStringIOtStringIOt tracebacktprint_exceptionRTtgetvaluetclose(RjteitsioR((s(/usr/lib64/python2.7/logging/__init__.pytformatExceptions %   cCs|jjddkS(sK Check if the format uses the creation time of the record. s %(asctime)i(Rztfind(Rj((s(/usr/lib64/python2.7/logging/__init__.pytusesTimescCsA|j|_|jr6|j||j|_ny|j|j}WnVtk r}y)|j j d|_ |j|j}Wqtk r|qXnX|j r|j s|j |j |_ qn|j r=|ddkr|d}ny||j }Wq=tk r9||j j tjd}q=Xn|S(sz Format the specified record as text. The record's attribute dictionary is used as the operand to a string formatting operation which yields the returned string. Before formatting the dictionary, a couple of preparatory steps are carried out. The message attribute of the record is computed using LogRecord.getMessage(). If the formatting string uses the time (as determined by a call to usesTime(), formatTime() is called to format the event time. If there is exception information, it is formatted using formatException() and appended to the message. sutf-8is treplace(RstmessageRRR{tasctimeRzRwtUnicodeDecodeErrorRDtdecodeR(RURRrR'tgetfilesystemencoding(RjRRte((s(/usr/lib64/python2.7/logging/__init__.pytformats.        N( RtRuRvRCt localtimeR}RTRnRRRR(((s(/usr/lib64/python2.7/logging/__init__.pyR[s(    cBs5eZdZddZdZdZdZRS(sB A formatter suitable for formatting a number of records. cCs|r||_n t|_dS(sm Optionally specify a formatter which will be used to format each individual record. N(tlinefmtt_defaultFormatter(RjR((s(/usr/lib64/python2.7/logging/__init__.pyRns cCsdS(sE Return the header string for the specified records. R.((Rjtrecords((s(/usr/lib64/python2.7/logging/__init__.pyt formatHeaderscCsdS(sE Return the footer string for the specified records. R.((RjR((s(/usr/lib64/python2.7/logging/__init__.pyt formatFooter scCsld}t|dkrh||j|}x$|D]}||jj|}q2W||j|}n|S(sQ Format the specified records and return the result as a string. R.i(RFRRRR(RjRR;R((s(/usr/lib64/python2.7/logging/__init__.pyRs N(RtRuRvRTRnRRR(((s(/usr/lib64/python2.7/logging/__init__.pyRs   cBs#eZdZddZdZRS(s Filter instances are used to perform arbitrary filtering of LogRecords. Loggers and Handlers can optionally use Filter instances to filter records as desired. The base filter class only allows events which are below a certain point in the logger hierarchy. For example, a filter initialized with "A.B" will allow events logged by loggers "A.B", "A.B.C", "A.B.C.D", "A.B.D" etc. but not "A.BB", "B.A.B" etc. If initialized with the empty string, all events are passed. R.cCs||_t||_dS(s Initialize a filter. Initialize with the name of the logger which, together with its children, will have its events allowed through the filter. If no name is specified, allow every event. N(RDRFtnlen(RjRD((s(/usr/lib64/python2.7/logging/__init__.pyRn,s cCse|jdkrdS|j|jkr)dS|jj|jd|jdkrQdS|j|jdkS(s Determine if the specified record is to be logged. Is the specified record to be logged? Returns 0 for no, nonzero for yes. If deemed appropriate, the record may be modified in-place. iit.(RRDR(RjR((s(/usr/lib64/python2.7/logging/__init__.pytfilter7s$(RtRuRvRnR(((s(/usr/lib64/python2.7/logging/__init__.pyR!s  tFilterercBs2eZdZdZdZdZdZRS(s[ A base class for loggers and handlers which allows them to share common code. cCs g|_dS(sE Initialize the list of filters to be an empty list. N(tfilters(Rj((s(/usr/lib64/python2.7/logging/__init__.pyRnKscCs&||jkr"|jj|ndS(s; Add the specified filter to this handler. N(Rtappend(RjR((s(/usr/lib64/python2.7/logging/__init__.pyt addFilterQscCs&||jkr"|jj|ndS(s@ Remove the specified filter from this handler. N(Rtremove(RjR((s(/usr/lib64/python2.7/logging/__init__.pyt removeFilterXscCs7d}x*|jD]}|j|sd}PqqW|S(s Determine if a record is loggable by consulting all the filters. The default is to allow the record to be logged; any filter can veto this and the record is then dropped. Returns a zero value if a record is to be dropped, else non-zero. ii(RR(RjRR;tf((s(/usr/lib64/python2.7/logging/__init__.pyR_s (RtRuRvRnRRR(((s(/usr/lib64/python2.7/logging/__init__.pyRFs    cCswttt}}}|rs|rs|rsy6|z ||krO|j|nWd|XWqstk roqsXndS(sD Remove a handler reference from the internal cleanup list. N(R2R3t _handlerListRR:(twrR>R?thandlers((s(/usr/lib64/python2.7/logging/__init__.pyt_removeHandlerRefus   cCs3tztjtj|tWdtXdS(sL Add a handler to the internal cleanup list using a weak reference. N(R2RRtweakreftrefRR3(thandler((s(/usr/lib64/python2.7/logging/__init__.pyt_addHandlerRefscBseZdZedZdZdZeeeZdZ dZ dZ dZ dZ d Zd Zd Zd Zd ZdZRS(sq Handler instances dispatch logging events to specific destinations. The base handler class. Acts as a placeholder which defines the Handler interface. Handlers can optionally use Formatter instances to format records as desired. By default, no formatter is specified; in this case, the 'raw' message as determined by record.message is logged. cCsFtj|d|_t||_d|_t||jdS(sz Initializes the instance - basically setting the formatter to None and the filter list to empty. N( RRnRTt_nameR<R1t formatterRt createLock(RjR1((s(/usr/lib64/python2.7/logging/__init__.pyRns     cCs|jS(N(R(Rj((s(/usr/lib64/python2.7/logging/__init__.pytget_namescCsRtz<|jtkr&t|j=n||_|rB|t|(Rj((s(/usr/lib64/python2.7/logging/__init__.pyR>s cCs|jr|jjndS(s. Release the I/O thread lock. N(RR?(Rj((s(/usr/lib64/python2.7/logging/__init__.pyR?s cCst||_dS(s8 Set the logging level of this handler. N(R<R1(RjR1((s(/usr/lib64/python2.7/logging/__init__.pytsetLevelscCs(|jr|j}nt}|j|S(s Format the specified record. If a formatter is set, use it. Otherwise, use the default formatter for the module. (RRR(RjRR|((s(/usr/lib64/python2.7/logging/__init__.pyRs  cCstddS(s Do whatever it takes to actually log the specified logging record. This version is intended to be implemented by subclasses and so raises a NotImplementedError. s.emit must be implemented by Handler subclassesN(tNotImplementedError(RjR((s(/usr/lib64/python2.7/logging/__init__.pytemitscCsE|j|}|rA|jz|j|Wd|jXn|S(s< Conditionally emit the specified logging record. Emission depends on filters which may have been added to the handler. Wrap the actual emission of the record with acquisition/release of the I/O thread lock. Returns whether the filter passed the record for emission. N(RR>RR?(RjRR;((s(/usr/lib64/python2.7/logging/__init__.pythandles  cCs ||_dS(s5 Set the formatter for this handler. N(R(RjR|((s(/usr/lib64/python2.7/logging/__init__.pyt setFormatterscCsdS(s Ensure all logging output has been flushed. This version does nothing and is intended to be implemented by subclasses. N((Rj((s(/usr/lib64/python2.7/logging/__init__.pytflush scCs?tz)|jr/|jtkr/t|j=nWdtXdS(s% Tidy up any resources used by the handler. This version removes the handler from an internal map of handlers, _handlers, which is used for handler lookup by name. Subclasses should ensure that this gets called from overridden close() methods. N(R2RRR3(Rj((s(/usr/lib64/python2.7/logging/__init__.pyRs cCstrtjrtj}zdyLtj|d|d|ddtjtjjd|j|j fWnt k r}nXWd~XndS(sD Handle errors which occur during an emit() call. This method should be called from handlers when an exception is encountered during an emit() call. If raiseExceptions is false, exceptions get silently ignored. This is what is mostly wanted for a logging system - most users will not care about errors in the logging system, they are more interested in application errors. You could, however, replace this with a custom handler if you wish. The record which was being processed is passed in to this method. iiisLogged from file %s, line %s N( traiseExceptionsR'tstderrR(RRRTtwriteRPRVtIOError(RjRR((s(/usr/lib64/python2.7/logging/__init__.pyt handleError#s     (RtRuRvRRnRRtpropertyRDRR>R?RRRRRRRR(((s(/usr/lib64/python2.7/logging/__init__.pyR s         cBs,eZdZddZdZdZRS(s A handler class which writes logging records, appropriately formatted, to a stream. Note that this class does not close the stream, as sys.stdout or sys.stderr may be used. cCs2tj||dkr%tj}n||_dS(sb Initialize the handler. If stream is not specified, sys.stderr is used. N(R RnRTR'Rtstream(RjR((s(/usr/lib64/python2.7/logging/__init__.pyRnBs   cCsK|jz/|jr8t|jdr8|jjnWd|jXdS(s% Flushes the stream. RN(R>RRhRR?(Rj((s(/usr/lib64/python2.7/logging/__init__.pyRMs  cCs-y|j|}|j}d}ts;|j||nyt|trt|ddrd}y|j||Wqtk r|j||j |j qXn|j||Wn+t k r|j||j dnX|j Wn-t tfk rn|j|nXdS(s Emit a record. If a formatter is specified, it is used to format the record. The record is then written to the stream with a trailing newline. If exception information is present, it is formatted using traceback.print_exception and appended to the stream. If the stream has an 'encoding' attribute, it is used to determine how to do the output to the stream. s%s tencodingu%s sUTF-8N(RRRpRR5tunicodetgetattrRTtUnicodeEncodeErrortencodeRRrRtKeyboardInterruptt SystemExitR(RjRRERtfstufs((s(/usr/lib64/python2.7/logging/__init__.pyRXs,   $ N(RtRuRvRTRnRR(((s(/usr/lib64/python2.7/logging/__init__.pyR;s cBs;eZdZddddZdZdZdZRS(sO A handler class which writes formatted logging records to disk files. taicCs~tdkrd}ntjj||_||_||_||_|rdt j |d|_ nt j ||j dS(sO Open the specified file and use it as the stream for logging. N(tcodecsRTRMRNtabspatht baseFilenametmodeRtdelayR RnRRt_open(RjRPRRR((s(/usr/lib64/python2.7/logging/__init__.pyRns       cCs|jzezP|jr\z|jWd|j}d|_t|drX|jnXnWdtj|XWd|jXdS(s$ Closes the stream. NR(R>RRRTRhRRR?(RjR((s(/usr/lib64/python2.7/logging/__init__.pyRs    cCsI|jdkr't|j|j}ntj|j|j|j}|S(sx Open the current base file with the (original) mode and encoding. Return the resulting stream. N(RRTtopenRRR(RjR((s(/usr/lib64/python2.7/logging/__init__.pyRscCs5|jdkr!|j|_ntj||dS(s Emit a record. If the stream was not opened because 'delay' was specified in the constructor, open it before calling the superclass's emit. N(RRTRRR(RjR((s(/usr/lib64/python2.7/logging/__init__.pyRsN(RtRuRvRTRnRRR(((s(/usr/lib64/python2.7/logging/__init__.pyRs   t PlaceHoldercBs eZdZdZdZRS(s PlaceHolder instances are used in the Manager logger hierarchy to take the place of nodes for which no loggers have been defined. This class is intended for internal use only and not as part of the public API. cCsid|6|_dS(sY Initialize with the specified logger being a child of this placeholder. N(RTt loggerMap(Rjtalogger((s(/usr/lib64/python2.7/logging/__init__.pyRnscCs#||jkrd|j||tkr4t|ts4td|jq4n|adS(s Set the class to be used when instantiating a logger. The class should define __init__() such that only a name argument is required, and the __init__() should call Logger.__init__() s(logger not derived from logging.Logger: N(R t issubclassR:Rtt _loggerClass(tklass((s(/usr/lib64/python2.7/logging/__init__.pyR"s  cCstS(sB Return the class to be used when instantiating a logger. (R(((s(/usr/lib64/python2.7/logging/__init__.pyRstManagercBs;eZdZdZdZdZdZdZRS(st There is [under normal circumstances] just one Manager instance, which holds the hierarchy of loggers. cCs1||_d|_d|_i|_d|_dS(sT Initialize the manager with the root node of the logger hierarchy. iN(trootRtemittedNoHandlerWarningt loggerDictRTt loggerClass(Rjtrootnode((s(/usr/lib64/python2.7/logging/__init__.pyRns     cCsd}t|ts$tdnt|trE|jd}ntz||jkr|j|}t|tr|}|j pt |}||_ ||j|<|j |||j |qn8|j pt |}||_ ||j|<|j |WdtX|S(s Get a logger with the specified name (channel name), creating it if it doesn't yet exist. This name is a dot-separated hierarchical name, such as "a", "a.b", "a.b.c" or similar. If a PlaceHolder existed for the specified name [i.e. the logger didn't exist but a child of it did], replace it with the created logger and fix up the parent/child references which pointed to the placeholder to now point to the logger. s'A logger name must be string or Unicodesutf-8N(RTR5RqR:RRR2RRRRtmanagert_fixupChildrent _fixupParentsR3(RjRDR;tph((s(/usr/lib64/python2.7/logging/__init__.pyRs,      cCsA|tkr4t|ts4td|jq4n||_dS(sY Set the class to be used when instantiating a logger with this Manager. s(logger not derived from logging.Logger: N(R RR:RtR(RjR((s(/usr/lib64/python2.7/logging/__init__.pyR",s  cCs|j}|jd}d}x|dkr| r|| }||jkrct||j|RRRR9R?R(t handlerListRth((s(/usr/lib64/python2.7/logging/__init__.pytshutdown|s   cBs)eZdZdZdZdZRS(s This handler does nothing. It's intended to be used to avoid the "No handlers could be found for logger XXX" one-off warning. This is important for library code, which may contain code to log events. If a user of the library does not configure logging, the one-off warning might be produced; to avoid this, the library developer simply needs to instantiate a NullHandler and add it to the top-level logger of the library module or package. cCsdS(N((RjR((s(/usr/lib64/python2.7/logging/__init__.pyRscCsdS(N((RjR((s(/usr/lib64/python2.7/logging/__init__.pyRscCs d|_dS(N(RTR(Rj((s(/usr/lib64/python2.7/logging/__init__.pyRs(RtRuRvRRR(((s(/usr/lib64/python2.7/logging/__init__.pyRs   cCs|dk r7tdk rt||||||qnStj|||||}td}|jsz|jtn|jd|dS(s Implementation of showwarnings which redirects to logging, which will first check to see if the file parameter is None. If a file is specified, it will delegate to the original warnings implementation of showwarning. Otherwise, it will call warnings.formatwarning and will log the resulting string to a warnings logger named "py.warnings" with level logging.WARNING. s py.warningss%sN( RTt_warnings_showwarningtwarningst formatwarningRRRRR$(RtcategoryRPRVtfiletlineRR((s(/usr/lib64/python2.7/logging/__init__.pyt _showwarnings    cCsL|r*tdkrHtjatt_qHntdk rHtt_dandS(s If capture is true, redirect all warnings to the logging package. If capture is False, ensure that warnings are not redirected to logging but to their original destinations. N(RRTRt showwarningR(tcapture((s(/usr/lib64/python2.7/logging/__init__.pyRs    (bRvR'RMRCRRRRRGt__all__Rt ImportErrorRTR]R_t __author__t __status__t __version__t__date__RtTrueRpt NameErrortFalseR+RhRNRt__code__RRRZRR\RbRgRRRRRR RRR/RRR<RR=R2R3tobjectR R!RRRRRtWeakValueDictionaryRRRRR RRRRR"RRR R R RRRRRRRRRR$R#RRR RRtatexittregisterRRRR(((s(/usr/lib64/python2.7/logging/__init__.pyts`                k  *%,   GH f `   <            usr/lib64/python2.7/idlelib/__init__.pyo000064400000000657152527662300013761 0ustar00 {fc@s dZdS(sThe idlelib package implements the Idle application. Idle includes an interactive shell and editor. Use the files named idle.* to start Idle. The other files are private implementations. Their details are subject to change. See PEP 434 for more. Import them at your own risk. N(t__doc__(((s(/usr/lib64/python2.7/idlelib/__init__.pyttusr/lib64/python2.7/lib2to3/__init__.pyo000064400000000177152527767300013636 0ustar00 {fc@sdS(N((((s(/usr/lib64/python2.7/lib2to3/__init__.pyttusr/lib64/python2.7/xml/sax/__init__.pyo000064400000007241152530127620013737 0ustar00 {fc@sjdZddlmZddlmZmZddlmZmZm Z m Z m Z edZ edZ dgZdZerdd lZndd lZdd lZejj rd ejkrejd jd Zn[d Zejd dkr/ejjer/ejjejd ZngdZejd dkrZdZn dZ[d S(sSimple API for XML (SAX) implementation for Python. This module provides an implementation of the SAX 2 interface; information about the Java version of the interface can be found at http://www.megginson.com/SAX/. The Python version of the interface is documented at <...>. This package contains the following modules: handler -- Base classes and constants which define the SAX 2 API for the 'client-side' of SAX for Python. saxutils -- Implementation of the convenience classes commonly used to work with SAX. xmlreader -- Base classes and constants which define the SAX 2 API for the parsers used with SAX for Python. expatreader -- Driver that allows use of the Expat parser with SAX. i(t InputSource(tContentHandlert ErrorHandler(t SAXExceptiontSAXNotRecognizedExceptiontSAXParseExceptiontSAXNotSupportedExceptiontSAXReaderNotAvailablecCs4t}|j||j||j|dS(N(t make_parsertsetContentHandlertsetErrorHandlertparse(tsourcethandlert errorHandlertparser((s(/usr/lib64/python2.7/xml/sax/__init__.pyR s   cCsyddlm}Wn!tk r7ddlm}nX|dkrPt}nt}|j||j|t}|j |||j |dS(Ni(tStringIO( t cStringIORt ImportErrortNoneRRR R Rt setByteStreamR (tstringR RRRtinpsrc((s(/usr/lib64/python2.7/xml/sax/__init__.pyt parseString#s       sxml.sax.expatreaderiNt PY_SAX_PARSERt,spython.xml.sax.parseritjavacCs}xg|tD][}yt|SWq tk rU}ddl}||jkrfqfq tk req Xq WtdddS(s&Creates and returns a SAX parser. Creates the first parser it is able to instantiate of the ones given in the list created by doing parser_list + default_parser_list. The lists must contain the names of Python modules containing both a SAX parser and a create_parser function.iNsNo parsers found(tdefault_parser_listt_create_parserRtsystmodulesRR(t parser_listt parser_nameteR((s(/usr/lib64/python2.7/xml/sax/__init__.pyRGs   cCs2ddlm}|j|dt}|jS(Ni(timpi(torg.python.coreR"t importNametglobalst create_parser(R R"t drv_module((s(/usr/lib64/python2.7/xml/sax/__init__.pyRbscCs"t|iidg}|jS(NR&(t __import__R&(R R'((s(/usr/lib64/python2.7/xml/sax/__init__.pyRhs(t__doc__t xmlreaderRR RRt _exceptionsRRRRRR RRt_falsetxml.sax.expatreadertxmltosRtflagstignore_environmenttenvirontsplitt_keytplatformtregistryt containsKeyt getPropertyRR(((s(/usr/lib64/python2.7/xml/sax/__init__.pyts*( %   usr/lib64/python2.7/hotshot/__init__.pyo000064400000006634152530127740014044 0ustar00 {fc@sYdZddlZddlmZddlmZeddddd d YZdS( s6High-perfomance logging profiler, mostly written in C.iN(t ProfilerError(twarnpy3ksOThe 'hotshot' module is not supported in 3.x, use the 'profile' module instead.t stacklevelitProfilecBs_eZdddZdZdZdZdZdZdZd Z d Z RS( iicCs|r dpd|_|r'|r'dp*d|_tj||j|j|_}|jtkr|j|_|j|_|j |_ |j |_ ndS(Nii( t lineeventst linetimingst_hotshottprofilert_proft __class__Rtclosetstarttstoptaddinfo(tselftlogfnRRtp((s(/usr/lib64/python2.7/hotshot/__init__.pyt__init__ s   cCs|jjdS(s-Close the logfile and terminate the profiler.N(RR (R((s(/usr/lib64/python2.7/hotshot/__init__.pyR scCs |jjS(s6Return the file descriptor of the profiler's log file.(Rtfileno(R((s(/usr/lib64/python2.7/hotshot/__init__.pyRscCs|jjdS(sStart the profiler.N(RR (R((s(/usr/lib64/python2.7/hotshot/__init__.pyR "scCs|jjdS(sStop the profiler.N(RR (R((s(/usr/lib64/python2.7/hotshot/__init__.pyR &scCs|jj||dS(s3Add an arbitrary labelled value to the profile log.N(RR (Rtkeytvalue((s(/usr/lib64/python2.7/hotshot/__init__.pyR *scCs(ddl}|j}|j|||S(sProfile an exec-compatible string in the script environment. The globals from the __main__ module are used as both the globals and locals for the script. iN(t__main__t__dict__trunctx(RtcmdRtdict((s(/usr/lib64/python2.7/hotshot/__init__.pytrun1s  cCs,t|dd}|jj||||S(sEvaluate an exec-compatible string in a specific environment. The string is compiled before profiling begins. stexec(tcompileRtruncode(RRtglobalstlocalstcode((s(/usr/lib64/python2.7/hotshot/__init__.pyR<scOs|jj|||S(sProfile a single call of a callable. Additional positional and keyword arguments may be passed along; the result of the call is returned, and exceptions are allowed to propagate cleanly, while ensuring that profiling is disabled on the way out. (Rtruncall(Rtfunctargstkw((s(/usr/lib64/python2.7/hotshot/__init__.pyR!Fs( t__name__t __module__RR RR R R RRR!(((s(/usr/lib64/python2.7/hotshot/__init__.pyR s      ((t__doc__RRtwarningsRt _warnpy3kR(((s(/usr/lib64/python2.7/hotshot/__init__.pyts   usr/lib64/python2.7/email/mime/__init__.pyo000064400000000202152530507750014356 0ustar00 {fc@sdS(N((((s+/usr/lib64/python2.7/email/mime/__init__.pyttusr/lib/python2.7/site-packages/pip/__init__.pyo000064400000022260152530624210015475 0ustar00 abc@@siddlmZddlZddlZddlZddlZddlZddlZddlZddl m Z ej dde yddl Z Wne k rncXejdkr ee dddkr ydd lmZWne efk rq Xejndd lmZmZmZdd lmZmZdd lmZmZdd lmZmZm Z m!Z!ddl"m#Z#m$Z$ddl%m&Z&m'Z'ddl%m(Z(ddl m)Z)ddl*Z+e+j,Z,dZ-ej.e/Z0ej dde)dZ1dZ2dZ3dZ4ddZ6de7fdYZ8e/dkreej9e6ndS(i(tabsolute_importN(tDependencyWarningtignoretcategorytdarwintOPENSSL_VERSION_NUMBERi(tsecuretransport(tInstallationErrort CommandErrortPipError(tget_installed_distributionstget_prog(t deprecationtdist_is_editable(tgitt mercurialt subversiontbazaar(tConfigOptionParsertUpdatingDefaultsHelpFormatter(t get_summariestget_similar_commands(t commands_dict(tInsecureRequestWarnings9.0.3cC@sdtjkrdStjdjd}ttjd}y||d}Wntk rhd}nXgtD]\}}|^qs}g}y-g|D]}||kr|^qd}Wntk rd}nXt} |r|dkrtj dn|d kr|j d  rg} |j } xOt d t D]>} | jj | rA| j|dkrA| j| jqAqAW| rx| D] } | GHqWtj dqnt|} |g| jjD]-}|jtjkr|j|jf^q7}g|d|d!D]}|jd d^q}g|D]$\}}||kr;||f^q;}g|D]'\}}|j |rl||f^ql}x|D],}|d}|dr|d 7}n|GHqWn|j d s|j d rhg| jD]}|j^q}|j| jd|D}|g|D]$}|jtjkr:|j^q:7}ndjg|D]}|j |ru|^quGHtj ddS(sCommand and option completion for the main option parser (and options) and its subcommands (and options). Enable by sourcing one of the completion shell scripts (bash, zsh or fish). tPIP_AUTO_COMPLETENt COMP_WORDSit COMP_CWORDtithelpt uninstallt-t local_onlyt=s--cs@s"|]}|D] }|Vq qdS(N((t.0titto((s0/usr/lib/python2.7/site-packages/pip/__init__.pys st (tostenvirontsplittintt IndexErrorRtNonetcreate_main_parsertsystexitt startswithtlowerR tTruetkeytappendRtparsertoption_list_allRtoptparset SUPPRESS_HELPtget_opt_stringtnargst option_groupst option_listtjoin(tcwordstcwordtcurrenttcmdtsummaryt subcommandstoptionstwtsubcommand_nameR3t installedtlctdistt subcommandtopttxt prev_optstvtktoptiont opt_labeltitopts((s0/usr/lib/python2.7/site-packages/pip/__init__.pyt autocompleteEs`  "-     %   .114     (0cC@sidd6td6td6dd6td6}t|}|jtjjtjjtjjt }dt |t j d f|_ t jt j|}|j|t|_t}d gg|D]\}}d ||f^q}d j||_|S( Ns %prog [options]tusagetadd_help_optiont formattertglobaltnametprogspip %s from %s (python %s)iRs%-27s %ss (tFalseRR Rtdisable_interspersed_argsR%tpathtdirnametabspatht__file__t __version__R,tversiont cmdoptionstmake_option_groupt general_grouptadd_option_groupR0tmainRR;t description(t parser_kwR3t pip_pkg_dirtgen_optstcommand_summariesRPtjRf((s0/usr/lib/python2.7/site-packages/pip/__init__.pyR+s$    *   0cC@st}|j|\}}|jrZtjj|jtjjtjtjn| s|ddkrt |dkr|j tjn|d}|t krt |}d|g}|r|j d|ntdj|n|}|j|||fS(NiRisunknown command "%s"smaybe you meant "%s"s - (R+t parse_argsR`R,tstdouttwriteR%tlinesepR-tlent print_helpRRR2RR;tremove(targsR3tgeneral_optionst args_elsetcmd_nametguesstmsgtcmd_args((s0/usr/lib/python2.7/site-packages/pip/__init__.pyt parseoptss&   )       cC@st}d|krt}n|S(Ns --isolated(RYR0(Rstisolated((s0/usr/lib/python2.7/site-packages/pip/__init__.pytcheck_isolateds  cC@s|dkrtjd}ntjtyt|\}}WnGtk r}tjj d|tjj t j tj dnXyt jt jdWn&t jk r}tjd|nXt|dt|}|j|S(Nis ERROR: %sRs%Ignoring error %s when setting localeR{(R*R,targvR tinstall_warning_loggerRRRzR tstderrRnR%RoR-tlocalet setlocaletLC_ALLtErrortloggertdebugRR|Re(RsRvRytexctetcommand((s0/usr/lib/python2.7/site-packages/pip/__init__.pyRes   tFrozenRequirementcB@sYeZddZejdZejdZedZe dZ dZ RS(cC@s(||_||_||_||_dS(N(RWtreqteditabletcomments(tselfRWRRR((s0/usr/lib/python2.7/site-packages/pip/__init__.pyt__init__s   s-r(\d+)$s-(20\d\d\d\d\d\d)$cC@stjjtjj|j}g}ddlm}m}t|r|j |rt }y|||}Wn)t k r} t j d| d}nX|dkrt j d||jd|j}t}qn t}|j}|j} | dd} |jj| } |jj| } | s7| r|jd}|rd|j||}n|st j d||jd q|jd || r| jd}nd | jd}t }d |||j|f}n||j|||S( Ni(tvcstget_src_requirementsYError when trying to get requirement for VCS system %s, falling back to uneditable formats-Could not determine repository location of %ss-## !! Could not determine repository locationitsvns(Warning: cannot find svn location for %ssF## FIXME: could not find svn URL in dependency_links for this package:s3# Installing as editable to satisfy requirement %s:s{%s}s %s@%s#egg=%s(R%R[tnormcaseR]tlocationtpip.vcsRRR tget_backend_nameR0RRtwarningR*R2tas_requirementRYtspecst_rev_retsearcht_date_ret get_backendt get_locationtgrouptegg_namet project_name(tclsRGtdependency_linksRRRRRRRRR`t ver_matcht date_matcht svn_backendt svn_locationtrev((s0/usr/lib/python2.7/site-packages/pip/__init__.pyt from_dists`!            cC@s;|j}tjd|}|r7||j }n|S(Ns -py\d\.\d$(RtreRtstart(RGRWtmatch((s0/usr/lib/python2.7/site-packages/pip/__init__.pyRIs  cC@sF|j}|jrd|}ndjt|jt|gdS(Ns-e %ss (RRR;tlistRtstr(RR((s0/usr/lib/python2.7/site-packages/pip/__init__.pyt__str__Qs   (( t__name__t __module__RRtcompileRRt classmethodRt staticmethodRR(((s0/usr/lib/python2.7/site-packages/pip/__init__.pyRs  At__main__(:t __future__RRtloggingR%R5twarningsR,Rtpip._vendor.urllib3.exceptionsRtfilterwarningstsslt ImportErrortplatformtgetattrtpip._vendor.urllib3.contribRtOSErrortinject_into_urllib3tpip.exceptionsRRR t pip.utilsR R R R RRRRRtpip.baseparserRRt pip.commandsRRRRtpip.cmdoptionstpipRaR_t getLoggerRRRRR+RzR|R*RetobjectRR-(((s0/usr/lib/python2.7/site-packages/pip/__init__.pytsR         "   I  * [ usr/lib64/python2.7/lib2to3/pgen2/__init__.pyo000064400000000256152531044140014630 0ustar00 {fc@s dZdS(sThe pgen2 package.N(t__doc__(((s./usr/lib64/python2.7/lib2to3/pgen2/__init__.pyttusr/lib64/python2.7/lib2to3/fixes/__init__.pyo000064400000000205152531272710014733 0ustar00 {fc@sdS(N((((s./usr/lib64/python2.7/lib2to3/fixes/__init__.pyttusr/lib64/python2.7/unittest/test/__init__.pyo000064400000001612152531422500015172 0ustar00 {fc@skddlZddlZddlZejjeZejZdZ e dkrgej ddndS(iNcCstj}xstjtD]b}|jdr|jdrd|d }t|tj |}|j t j |qqW|S(Nttests.pysunittest.test.i( tunittestt TestSuitetostlistdirtheret startswithtendswitht __import__tsystmodulestaddTesttloadertloadTestsFromModule(tsuitetfntmodnametmodule((s./usr/lib64/python2.7/unittest/test/__init__.pyR s   t__main__t defaultTestR( RR Rtpathtdirnamet__file__RtdefaultTestLoaderR Rt__name__tmain(((s./usr/lib64/python2.7/unittest/test/__init__.pyts     usr/lib/python2.7/site-packages/setuptools/__init__.pyo000064400000016711152531535610017140 0ustar00 fc@sdZddlZddlZddlZddlZddlmZddlm Z ddl m Z m Z ddl ZddlmZddlmZmZddlmZd d lmZd d d ddddgZejjZdZeZdgZde fdYZ!de!fdYZ"e!j#Z$dZ%dZ&ej'j&je&_ej(ej'j)Z*de*fdYZ)dZ+ej,dZ-ej.dS(s@Extensions to the 'distutils' for large or complex distributionsiN(t convert_path(t fnmatchcase(tfiltertmap(t Extension(t DistributiontFeature(tRequirei(tmonkeytsetupRRtCommandRRt find_packagess lib2to3.fixest PackageFindercBsSeZdZeddddZedZedZedZRS( sI Generate a list of all Python packages found within a directory t.t*cCs7t|jt||jdd||j|S(s Return a list all Python packages found within directory 'where' 'where' is the root directory which will be searched for packages. It should be supplied as a "cross-platform" (i.e. URL-style) path; it will be converted to the appropriate local path syntax. 'exclude' is a sequence of package names to exclude; '*' can be used as a wildcard in the names, such that 'foo.*' will exclude all subpackages of 'foo' (but not 'foo' itself). 'include' is a sequence of package names to include. If it's specified, only the named packages will be included. If it's not specified, all found packages will be included. 'include' can contain shell style wildcard patterns just like 'exclude'. tez_setups *__pycache__(tlistt_find_packages_iterRt _build_filter(tclstwheretexcludetinclude((s7/usr/lib/python2.7/site-packages/setuptools/__init__.pytfind's  c csxtj|dtD]\}}}|}g|(x|D]}tjj||} tjj| |} | jtjjd} d|ks:|j|  rq:n|| r||  r| Vn|j |q:WqWdS(sy All the packages found in 'where' that pass the 'include' filter, but not the 'exclude' filter. t followlinksR N( tostwalktTruetpathtjointrelpathtreplacetsept_looks_like_packagetappend( RRRRtroottdirstfilestall_dirstdirt full_pathtrel_pathtpackage((s7/usr/lib/python2.7/site-packages/setuptools/__init__.pyR>s% cCstjjtjj|dS(s%Does a directory look like a package?s __init__.py(RRtisfileR(R((s7/usr/lib/python2.7/site-packages/setuptools/__init__.pyR!Zscs fdS(s Given a list of patterns, return a callable that will be true only if the input matches at least one of the patterns. cstfdDS(Nc3s!|]}td|VqdS(tpatN(R(t.0R,(tname(s7/usr/lib/python2.7/site-packages/setuptools/__init__.pys es(tany(R.(tpatterns(R.s7/usr/lib/python2.7/site-packages/setuptools/__init__.pytet((R0((R0s7/usr/lib/python2.7/site-packages/setuptools/__init__.pyR_s((R( t__name__t __module__t__doc__t classmethodRRt staticmethodR!R(((s7/usr/lib/python2.7/site-packages/setuptools/__init__.pyR "s tPEP420PackageFindercBseZedZRS(cCstS(N(R(R((s7/usr/lib/python2.7/site-packages/setuptools/__init__.pyR!is(R3R4R7R!(((s7/usr/lib/python2.7/site-packages/setuptools/__init__.pyR8hscCsXtjjtd|jD}|jdt|jrT|j|jndS(Ncss-|]#\}}|dkr||fVqdS(tdependency_linkstsetup_requiresN(R9R:((R-tktv((s7/usr/lib/python2.7/site-packages/setuptools/__init__.pys us tignore_option_errors( t distutilstcoreRtdicttitemstparse_config_filesRR:tfetch_build_eggs(tattrstdist((s7/usr/lib/python2.7/site-packages/setuptools/__init__.pyt_install_setup_requiresqs   cKst|tjj|S(N(RFR>R?R (RD((s7/usr/lib/python2.7/site-packages/setuptools/__init__.pyR ~s cBs,eZejZeZdZddZRS(cKs'tj||t|j|dS(sj Construct the command for dist, updating vars(self) with any keyword parameters. N(t_Commandt__init__tvarstupdate(tselfREtkw((s7/usr/lib/python2.7/site-packages/setuptools/__init__.pyRHsicKs,tj|||}t|j||S(N(RGtreinitialize_commandRIRJ(RKtcommandtreinit_subcommandsRLtcmd((s7/usr/lib/python2.7/site-packages/setuptools/__init__.pyRMs(R3R4RGR5tFalsetcommand_consumes_argumentsRHRM(((s7/usr/lib/python2.7/site-packages/setuptools/__init__.pyR s  cCs2dtj|dtD}ttjj|S(s% Find all files under 'path' css:|]0\}}}|D]}tjj||VqqdS(N(RRR(R-tbaseR$R%tfile((s7/usr/lib/python2.7/site-packages/setuptools/__init__.pys s R(RRRRRR+(Rtresults((s7/usr/lib/python2.7/site-packages/setuptools/__init__.pyt_find_all_simplescCsRt|}|tjkrHtjtjjd|}t||}nt|S(s Find all files under 'dir' and return the list of full filenames. Unless dir is '.', return full filenames with dir prepended. tstart( RVRtcurdirt functoolstpartialRRRR(R'R%tmake_rel((s7/usr/lib/python2.7/site-packages/setuptools/__init__.pytfindalls  (/R5RRYtdistutils.coreR>tdistutils.filelisttdistutils.utilRtfnmatchRtsetuptools.extern.six.movesRRtsetuptools.versiont setuptoolstsetuptools.extensionRtsetuptools.distRRtsetuptools.dependsRR2Rt__all__tversiont __version__tNonetbootstrap_install_fromRtrun_2to3_on_docteststlib2to3_fixer_packagestobjectR R8RR RFR R?t get_unpatchedR RGRVRXR\t patch_all(((s7/usr/lib/python2.7/site-packages/setuptools/__init__.pyts:        F    usr/lib/python2.7/site-packages/pip/vcs/__init__.pyo000064400000031415152532711260016276 0ustar00 abc@@sdZddlmZddlZddlZddlZddlZddlZddlm Z ddl m Z ddl mZmZmZmZmZddgZejeZd efd YZeZd efd YZd ZdS(s)Handles all VCS (version control) supporti(tabsolute_importN(tparse(t BadCommand(t display_patht backup_dirtcall_subprocesstrmtreetask_path_existstvcstget_src_requirementt VcsSupportcB@seZiZddddddgZdZdZedZed Zed Z d Z ddd Z d Z dZdZRS(tsshtgitthgtbzrtsftptsvncC@sRtjj|jttddr;tjj|jntt|j dS(Nt uses_fragment( t urllib_parset uses_netloctextendtschemestgetattrtNoneRtsuperR t__init__(tself((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pyRscC@s |jjS(N(t _registryt__iter__(R((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pyR$scC@st|jjS(N(tlistRtvalues(R((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pytbackends'scC@sg|jD]}|j^q S(N(Rtdirname(Rtbackend((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pytdirnames+scC@s.g}x!|jD]}|j|jqW|S(N(RRR(RRR!((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pyt all_schemes/scC@sbt|ds&tjd|jdS|j|jkr^||j|js  cC@sJxC|jjD]2}|j|rtjd||j|jSqWdS(s Return the name of the version control backend if found at given location, e.g. vcs.get_backend_name('/path/to/vcs/checkout') sDetermine that %s uses VCS: %sN(RRtcontrols_locationR&R)R$R(Rtlocationtvc_type((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pytget_backend_nameFs    cC@s*|j}||jkr&|j|SdS(N(tlowerR(RR$((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pyt get_backendRs cC@s&|j|}|r"|j|SdS(N(R0R2R(RR.R/((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pytget_backend_from_locationWs N(R(t __module__RRRRtpropertyRR"R#R+RR,R0R2R3(((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pyR s   tVersionControlcB@seZdZdZdZddZdZdZdZ dZ dZ dZ dZ d Zd Zd Zd Zd ZdZdZdZdZeddddddZedZRS(tcO@s&||_tt|j||dS(N(turlRR6R(RR8targstkwargs((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pyRgs cC@s1tjj|\}}|jtjjp0|S(sy posix absolute paths start with os.path.sep, win32 ones start with drive (like c:\folder) (tostpatht splitdrivet startswithtsep(Rtrepotdrivettail((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pyt_is_local_repositorykscC@s|jddS(Nt/t_(treplace(Rtsurname((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pyttranslate_egg_surnameuscC@s tdS(s Export the repository at the url to the destination location i.e. only download the files, without vcs informations N(tNotImplementedError(RR.((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pytexportysc C@sd}|jjddd}tj|\}}}}}d}d|krj|jdd\}}ntj||||df}||fS(sm Returns the correct repository URL and revision by parsing the given repository URL svSorry, '%s' is a malformed VCS url. The format is +://, e.g. svn+http://myrepo/svn/MyApp#egg=MyAppt+it@R7N(R8tsplitRturlsplitRtrsplitt urlunsplit( Rt error_messageR8tschemetnetlocR<tquerytfragtrev((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pyt get_url_revs cC@s|j||j|fS(sA Returns (url, revision), where both are strings (tget_urlt get_revision(RR.((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pytget_infoscC@stj|jdS(si Normalize a URL for comparison by unquoting it and removing any trailing slash. RD(Rtunquotetrstrip(RR8((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pyt normalize_urlscC@s|j||j|kS(sV Compare two repo URLs for identity, ignoring incidental differences. (R](Rturl1turl2((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pyt compare_urlsscC@s tdS(sx Called when installing or updating an editable package, takes the source path of the checkout. N(RI(Rtdest((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pytobtainscC@s tdS(sB Switch the repo at ``dest`` to point to ``URL``. N(RI(RRaR8t rev_options((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pytswitchscC@s tdS(sO Update an already-existing repo to the given ``rev_options``. N(RI(RRaRc((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pytupdatescC@s tdS(sp Return True if the version is identical to what exists and doesn't need to be updated. N(RI(RRaRc((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pyt check_versionsc C@smt}t}tjj|rAt}tjjtjj||jr|j|}|j||rt j d|j j t |||j||st jdt ||j ||j||qt jdq>t jd|j|j t ||ddf}qAt jd ||j|j d df}n|rit jd |j|td |d|d}|dkrt jd|j t ||||j|||qi|dkrqi|dkrt jdt |t|t}qi|d krJt|} t jdt || tj|| t}qi|dkritjdqin|S(s Prepare a location to receive a checkout/clone. Return True if the location is ready for (and requires) a checkout/clone, False otherwise. s)%s in %s exists, and has correct URL (%s)sUpdating %s %s%ss$Skipping because already up-to-date.s%s %s in %s exists with URL %ss%(s)witch, (i)gnore, (w)ipe, (b)ackup tstitwtbs0Directory %s already exists, and is not a %s %s.s(i)gnore, (w)ipe, (b)ackup s+The plan is to install the %s repository %ssWhat to do? %siisSwitching %s %s to %s%ss Deleting %ssBacking up %s to %stai(RgRhRiRj(RhRiRj(tTruetFalseR;R<texiststjoinR RXR`R&R)t repo_namettitleRRftinfoReR'R$RRdRRtshutiltmovetsystexit( RRaR8Rct rev_displaytcheckouttpromptt existing_urltresponsetdest_dir((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pytcheck_destinations$                  cC@s0tjj|rt|n|j|dS(sq Clean up current location and download the url repository (and vcs infos) into location N(R;R<RnRRb(RR.((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pytunpacks cC@s tdS(s Return a string representing the requirement needed to redownload the files currently present in location, something like: {repository_url}@{revision}#egg={project_name}-{version_identifier} N(RI(RtdistR.((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pyR scC@s tdS(s_ Return the url used at location Used in get_info or check_destination N(RI(RR.((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pyRX)scC@s tdS(s_ Return the current revision of the files at location Used in get_info N(RI(RR.((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pyRY0straisec C@su|jg|}y t|||||||SWn>tk rp}|jtjkrjtd|jqqnXdS(s Run a VCS subcommand This is simply a wrapper around call_subprocess that adds the VCS command name, and checks that the VCS is available sCannot find command %rN(R$RtOSErrorterrnotENOENTR( Rtcmdt show_stdouttcwdt on_returncodet command_desct extra_environtspinnerte((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pyt run_command7s   cC@sDtjd||j|jtjj||j}tjj|S(s Check if a location is controlled by the vcs. It is meant to be overridden to implement smarter detection mechanisms for specific vcs. sChecking in %s for %s (%s)...(R&R)R R$R;R<RoRn(R*R.R<((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pyR-Ns (N(R(R4R$R RRRRCRHRJRWRZR]R`RbRdReRfR}R~R RXRYRlRt classmethodR-(((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pyR6as2            U  cC@sztj|}|r`y|j||SWq`tk r\tjd||j|jSXntjd||jS(NsPcannot determine version of editable source in %s (%s command not found in path)stcannot determine version of editable source in %s (is not SVN checkout, Git clone, Mercurial clone or Bazaar branch)(RR3R RR&R'R$tas_requirement(RR.tversion_control((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pyR [s    (t__doc__t __future__RRtloggingR;RsRutpip._vendor.six.moves.urllibRRtpip.exceptionsRt pip.utilsRRRRRt__all__t getLoggerR(R&tobjectR RR6R (((s4/usr/lib/python2.7/site-packages/pip/vcs/__init__.pyts     ( G usr/lib64/python2.7/importlib/__init__.pyo000064400000002736152533135770014361 0ustar00 {fc@s+dZddlZdZddZdS(s-Backport of importlib.import_module from 3.x.iNcCst|dstdnt|}xSt|ddD]?}y|jdd|}Wq=tk r{tdq=Xq=Wd|| |fS( s6Return the absolute name of the module to be imported.trindexs'package' not set to a stringiit.is2attempted relative import beyond top-level packages%s.%s(thasattrt ValueErrortlentxrangeR(tnametpackagetleveltdottx((s*/usr/lib64/python2.7/importlib/__init__.pyt _resolve_names  cCs|jdrn|s$tdnd}x(|D] }|dkrGPn|d7}q1Wt||||}nt|tj|S(sImport a module. The 'package' argument is required when performing a relative import. It specifies the package to use as the anchor point from which to resolve the relative import to an absolute import. Rs/relative imports require the 'package' argumentii(t startswitht TypeErrorR t __import__tsystmodules(RRRt character((s*/usr/lib64/python2.7/importlib/__init__.pyt import_modules   (t__doc__RR tNoneR(((s*/usr/lib64/python2.7/importlib/__init__.pyts  usr/lib64/python2.7/distutils/__init__.pyo000064400000000637152533416740014401 0ustar00 {fc@s/dZddlZejejjd ZdS(sdistutils The main package for the Python Module Distribution Utilities. Normally used from a setup script as from distutils.core import setup setup (...) iNt (t__doc__tsystversiontindext __version__(((s*/usr/lib64/python2.7/distutils/__init__.pyt s usr/lib/python2.7/site-packages/pip/_vendor/distlib/__init__.pyo000064400000002475152533426330020577 0ustar00 abc@sddlZdZdefdYZyddlmZWn*ek rhdejfdYZnXejeZ e j edS(iNs0.2.4tDistlibExceptioncBseZRS((t__name__t __module__(((s@/usr/lib/python2.7/site-packages/pip/_vendor/distlib/__init__.pyR s(t NullHandlerRcBs#eZdZdZdZRS(cCsdS(N((tselftrecord((s@/usr/lib/python2.7/site-packages/pip/_vendor/distlib/__init__.pythandletcCsdS(N((RR((s@/usr/lib/python2.7/site-packages/pip/_vendor/distlib/__init__.pytemitRcCs d|_dS(N(tNonetlock(R((s@/usr/lib/python2.7/site-packages/pip/_vendor/distlib/__init__.pyt createLockR(RRRRR (((s@/usr/lib/python2.7/site-packages/pip/_vendor/distlib/__init__.pyRs  ( tloggingt __version__t ExceptionRRt ImportErrortHandlert getLoggerRtloggert addHandler(((s@/usr/lib/python2.7/site-packages/pip/_vendor/distlib/__init__.pyts  usr/lib/python2.7/site-packages/bs4/tests/__init__.pyo000064400000000274152533621430016544 0ustar00 CNc@s dZdS(sThe beautifulsoup tests.N(t__doc__(((s6/usr/lib/python2.7/site-packages/bs4/tests/__init__.pytsusr/lib/python2.7/site-packages/pip/_vendor/certifi/__init__.pyo000064400000000411152533636770020571 0ustar00 abc@s ddlmZmZdZdS(i(twheret old_wheres 2018.01.18N(tcoreRRt __version__(((s@/usr/lib/python2.7/site-packages/pip/_vendor/certifi/__init__.pytsusr/lib/python2.7/site-packages/pip/_vendor/__init__.pyo000064400000006210152533717270017142 0ustar00 abc@@sKdZddlmZddlZddlZddlZeZej j ej j e Z dZerGejej je dej ej (edededed ed ed ed ed ededededededededededededededededededed ed!ed"ed#ed$ed%ed&ed'ed(ed)ed*ed+ed,ed-ed.ed/ed0ndS(1s pip._vendor is for vendoring dependencies of pip to prevent needing pip to depend on something external. Files inside of pip._vendor should be considered immutable and should only be updated to versions from upstream. i(tabsolute_importNcC@sdjt|}y t|ttddWntk ry t|ttddWntk ruqXtj|tj|<|jdd\}}t tj||tj|nXdS(Ns{0}.{1}tlevelit.i( tformatt__name__t __import__tglobalstlocalst ImportErrortsystmodulestrsplittsetattr(t modulenamet vendored_nametbasethead((s8/usr/lib/python2.7/site-packages/pip/_vendor/__init__.pytvendoreds    s*.whlt cachecontroltcoloramatdistlibtdistrothtml5libtlockfiletsixs six.movesssix.moves.urllibt packagingspackaging.versionspackaging.specifierst pkg_resourcestprogresstretryingtrequestssrequests.packagessrequests.packages.urllib3s&requests.packages.urllib3._collectionss$requests.packages.urllib3.connections(requests.packages.urllib3.connectionpools!requests.packages.urllib3.contribs*requests.packages.urllib3.contrib.ntlmpools+requests.packages.urllib3.contrib.pyopenssls$requests.packages.urllib3.exceptionss requests.packages.urllib3.fieldss"requests.packages.urllib3.fileposts"requests.packages.urllib3.packagess/requests.packages.urllib3.packages.ordered_dicts&requests.packages.urllib3.packages.sixs5requests.packages.urllib3.packages.ssl_match_hostnamesErequests.packages.urllib3.packages.ssl_match_hostname._implementations%requests.packages.urllib3.poolmanagers!requests.packages.urllib3.requests"requests.packages.urllib3.responsesrequests.packages.urllib3.utils)requests.packages.urllib3.util.connections&requests.packages.urllib3.util.requests'requests.packages.urllib3.util.responses$requests.packages.urllib3.util.retrys#requests.packages.urllib3.util.ssl_s&requests.packages.urllib3.util.timeouts"requests.packages.urllib3.util.url(t__doc__t __future__Rtglobtos.pathtosR tFalset DEBUNDLEDtpathtabspathtdirnamet__file__t WHEEL_DIRRtjoin(((s8/usr/lib/python2.7/site-packages/pip/_vendor/__init__.pytsh    )                                          usr/lib64/python2.7/ctypes/macholib/__init__.pyo000064400000000474152533717630015443 0ustar00 {fc@sdZdZdS(s~ Enough Mach-O to make your head spin. See the relevant header files in /usr/include/mach-o And also Apple's documentation. s1.0N(t__doc__t __version__(((s0/usr/lib64/python2.7/ctypes/macholib/__init__.pytsusr/lib/python2.7/site-packages/pip/_vendor/chardet/__init__.pyo000064400000001742152533743750020563 0ustar00 abc@sIddlmZmZddlmZddlmZmZdZdS(i(tPY2tPY3(tUniversalDetector(t __version__tVERSIONcCskt|tsKt|ts<tdjt|qKt|}nt}|j||jS(s Detect the encoding of the given byte string. :param byte_str: The byte sequence to examine. :type byte_str: ``bytes`` or ``bytearray`` s4Expected object of type bytes or bytearray, got: {0}( t isinstancet bytearraytbytest TypeErrortformatttypeRtfeedtclose(tbyte_strtdetector((s@/usr/lib/python2.7/site-packages/pip/_vendor/chardet/__init__.pytdetects   N( tcompatRRtuniversaldetectorRtversionRRR(((s@/usr/lib/python2.7/site-packages/pip/_vendor/chardet/__init__.pytsusr/lib64/python2.7/xml/parsers/__init__.pyo000064400000000472152534106570014627 0ustar00 {fc@s dZdS(sPython interfaces to XML parsers. This package contains one module: expat -- Python wrapper for James Clark's Expat parser, with namespace support. N(t__doc__(((s,/usr/lib64/python2.7/xml/parsers/__init__.pytt