Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
ó •�abcF@@sƒ dZddlmZddlZddlZddlZddlZddlZddlZddl Z ddl Z ddl Z ddl Z ddl Z ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlmZyddlZWnek rEddlZnXddlmZddlmZm Z m!Z!ddlm"Z"y&ddlm#Z#m$Z$m%Z%e&Z'Wnek rÁe(Z'nXdd lm)Z*dd l+m,Z,m-Z-yddl.j/Z0e0j1Wnek re2Z0nXdd lm3Z3dd lm4Z4e5d ƒe5dƒe5dƒe5dƒddfej6koŠddfknr¥dZ7e j8e7ƒne2Z9e2Z:de;fd„ƒYZ<de=fd„ƒYZ>de>e4j?j@fd„ƒYZAde>e4j?jBfd„ƒYZCd„ZDiZEd„ZFd„ZGd„ZHd„ZId „ZJd!„ZKd"„ZLd#„ZMZNd$„ZOd%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdDddEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdigFZPd@eQfdj„ƒYZRdAeRfdk„ƒYZSdleSfdm„ƒYZTdBeRfdn„ƒYZUdCeRfdo„ƒYZViZWej?d ZXdZYdpZZdqZ[dZ\drZ]ds„Z^dt„Z_gdu„Z`dv„Zadw„ZbejcdxƒZdejcdyƒZeebZfdz„Zgd{„ZhehZid|„Zjd}„Zke2d~„Zld„ZmdXfd€„ƒYZndYenfd�„ƒYZod;e=fd‚„ƒYZpdƒeqfd„„ƒYZrd:e=fd…„ƒYZsesZtdDeufd†„ƒYZvd<fd‡„ƒYZwdˆ„Zxd‰„ZydŠ„Zzd‹„Z{dŒ„Z|d�„Z}e2dŽ„Z~d_fd�„ƒYZe^e=eƒd`efd�„ƒYZ€dae€fd‘„ƒYZ�e�j‚ƒd]efd’„ƒYZƒeƒƒZ„d“eqfd”„ƒYZ…d•e…fd–„ƒYZ†d—e j‡fd˜„ƒYZˆdbe€fd™„ƒYZ‰e^e jŠe‰ƒdZeƒfdš„ƒYZ‹d[e�fd›„ƒYZŒd\e‰fdœ„ƒYZ�eFd�džiƒdŸ„ZŽe(d „Z�e(d¡„Z�eŽe jŠe�ƒe(d¢„Z‘eŽe=e‘ƒd£„Z’e(d¤„Z“eŽej”e“ƒe•e0d¥ƒr(eŽe0j–e“ƒneFd�d¦iƒeFd�d§iƒd¨„Z—d©„Z˜dª„Z™d«„Zše2d¬„Z›d­„Zœe—ej”eœƒe—e jŠeœƒe•e0d¥ƒrÃe—e0j–eœƒnd®„Z�e—e=e�ƒd¯„Zžid°„ZŸd±„Z d²„Z¡d³„Z¢ejcd´ƒj£Z¤ejcdµej¥ej¦Bƒj£Z§d?e=fd¶„ƒYZ¨d·„Z©d¸„Zªd=e=fd¹„ƒYZ«dºe«fd»„ƒYZ¬d¼e«fd½„ƒYZ­ie«d¾6e¬d¿6e­dÀ6Z®dÁ„Z¯dÂe°fdăYZ±dÄ„Z²d>e4j³j´fdÅ„ƒYZ´dÆ„ZµdÇ„Z¶dÈ„Z·dÉ„Z¸dÊ„Z¹dË„Zºe j»dÌdÍe<dÎe&ƒdÏ„Z¼e¼e½ƒdЄƒZ¾e¼dÑ„ƒZ¿dS(ÒsZ Package resource API -------------------- A resource is a logical file contained within a package, or a logical subdirectory thereof. The package resource API expects resource names to have their path parts separated with ``/``, *not* whatever the local path separator is. Do not use os.path operations to manipulate resource names being passed into the API. The package resource API is designed to work with normal filesystem packages, .egg files, and unpacked .egg files. It can also work in a limited way with .zip files and with custom PEP 302 loaders that support the ``get_data()`` method. i(tabsolute_importN(t get_importer(tsix(turllibtmaptfilter(tutime(tmkdirtrenametunlink(topen(tisdirtsplit(tappdirs(t packagingspip._vendor.packaging.versions pip._vendor.packaging.specifierss"pip._vendor.packaging.requirementsspip._vendor.packaging.markersisLSupport for Python 3.0-3.2 has been dropped. Future versions will fail here.t PEP440WarningcB@seZdZRS(sa Used when there is an issue with a version or specifier not complying with PEP 440. (t__name__t __module__t__doc__(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR[st_SetuptoolsVersionMixincB@sYeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z RS( cC@stt|ƒjƒS(N(tsuperRt__hash__(tself((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRcscC@s9t|tƒrt|ƒ|kStt|ƒj|ƒSdS(N(t isinstancettupleRRt__lt__(Rtother((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRfscC@s9t|tƒrt|ƒ|kStt|ƒj|ƒSdS(N(RRRRt__le__(RR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRlscC@s9t|tƒrt|ƒ|kStt|ƒj|ƒSdS(N(RRRRt__eq__(RR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRrscC@s9t|tƒrt|ƒ|kStt|ƒj|ƒSdS(N(RRRRt__ge__(RR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRxscC@s9t|tƒrt|ƒ|kStt|ƒj|ƒSdS(N(RRRRt__gt__(RR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR~scC@s9t|tƒrt|ƒ|kStt|ƒj|ƒSdS(N(RRRRt__ne__(RR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR„scC@st|ƒ|S(N(R(Rtkey((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt __getitem__Šsc#@sžtjdtjƒ‰idd6dd6dd6dd6dd 6j‰‡‡fd †‰‡fd †}tjd td dƒx|t|ƒƒD] }|Vq‹WdS(Ns(\d+ | [a-z]+ | \.| -)tctpretpreviewsfinal-t-trct@tdevc3@suxiˆj|ƒD]X}ˆ||ƒ}| s|dkr>qn|d dkr_|jdƒVqd|VqWdVdS(Nt.it 0123456789it*s*final(R tzfill(tstpart(t component_retreplace(sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt_parse_version_parts—s c@s©g}x–ˆ|jƒƒD]‚}|jdƒrŽ|dkrdx'|r`|ddkr`|jƒq=Wnx'|rŠ|ddkrŠ|jƒqgWn|j|ƒqWt|ƒS(NR+s*finaliÿÿÿÿs*final-t00000000(tlowert startswithtpoptappendR(R-tpartsR.(R1(sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytold_parse_version¥s s–You have iterated over the result of pkg_resources.parse_version. This is a legacy behavior which is inconsistent with the new version class introduced in setuptools 8.0. In most cases, conversion to a tuple is unnecessary. For comparison of versions, sort the Version instances directly. If you have another use case requiring the tuple, please file a bug with the setuptools project describing that need.t stackleveli(tretcompiletVERBOSEtgettwarningstwarntRuntimeWarningtstr(RR8R.((R1R/R0sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__iter__�s ( RRRRRRRRRR!RB(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRbs        tSetuptoolsVersioncB@seZRS((RR(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRCÄstSetuptoolsLegacyVersioncB@seZRS((RR(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRDÈscC@s3yt|ƒSWntjjk r.t|ƒSXdS(N(RCRtversiontInvalidVersionRD(tv((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt parse_versionÍscK@s-tƒj|ƒtjtj||ƒƒdS(N(tglobalstupdatet _state_varstdicttfromkeys(tvartypetkw((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt_declare_state×scC@sLi}tƒ}x6tjƒD](\}}|d|||ƒ||ütcC@s{tƒ}tj|ƒ}|dk rwtjdkrwy-ddjtƒd ƒ|jdƒf}Wqwt k rsqwXn|S(sZReturn this platform's maximum compatible version. distutils.util.get_platform() normally reports the minimum version of Mac OS X that would be required to *use* extensions produced by distutils. But what we want when checking compatibility is to know the version of Mac OS X that we are *running*. To allow usage of packages that explicitly require a newer version of Mac OS X, we must also know the current version of the OS. If this condition occurs for any other platform with a version in its platform strings, this function should be extended accordingly. tdarwins macosx-%s-%sR)iiN( tget_build_platformtmacosVersionStringtmatchRatsystplatformtjoint _macosx_verstgroupt ValueError(tplattm((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytget_supported_platformÿs - trequiret run_scriptt get_providertget_distributiontload_entry_pointt get_entry_maptget_entry_infotiter_entry_pointstresource_stringtresource_streamtresource_filenametresource_listdirtresource_existstresource_isdirtdeclare_namespacet working_settadd_activation_listenertfind_distributionstset_extraction_pathtcleanup_resourcestget_default_cachet Environmentt WorkingSettResourceManagert Distributiont Requirementt EntryPointtResolutionErrortVersionConflicttDistributionNotFoundt UnknownExtratExtractionErrortparse_requirementsRHt safe_namet safe_versiont get_platformtcompatible_platformst yield_linestsplit_sectionst safe_extrat to_filenametinvalid_markertevaluate_markertensure_directorytnormalize_pathtEGG_DISTt BINARY_DISTt SOURCE_DISTt CHECKOUT_DISTt DEVELOP_DISTtIMetadataProvidertIResourceProvidert FileMetadatat PathMetadatat EggMetadatat EmptyProvidertempty_providert NullProvidert EggProvidertDefaultProvidert ZipProvidertregister_findertregister_namespace_handlertregister_loader_typetfixup_namespace_packagesRtrun_maintAvailableDistributionscB@seZdZd„ZRS(s.Abstract base for dependency resolution errorscC@s|jjt|jƒS(N(t __class__RtreprRb(R((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__repr__Is(RRRR·(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�FscB@sDeZdZdZed„ƒZed„ƒZd„Zd„ZRS(sª An already-installed version conflicts with the requested version. Should be initialized with the installed Distribution and the requested Requirement. s3{self.dist} is installed but {self.req} is requiredcC@s |jdS(Ni(Rb(R((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytdistWscC@s |jdS(Ni(Rb(R((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytreq[scC@s|jjtƒ�S(N(t _templatetformattlocals(R((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytreport_scC@s$|s |S|j|f}t|ŒS(st If required_by is non-empty, return a version of self that is a ContextualVersionConflict. (RbtContextualVersionConflict(Rt required_byRb((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt with_contextbs( RRRRºtpropertyR¸R¹R½RÀ(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRŽMs  R¾cB@s*eZdZejdZed„ƒZRS(s… A VersionConflict that accepts a third parameter, the set of the requirements that required the installed Distribution. s by {self.required_by}cC@s |jdS(Ni(Rb(R((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR¿us(RRRRŽRºRÁR¿(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR¾ms cB@sSeZdZdZed„ƒZed„ƒZed„ƒZd„Zd„Z RS(s&A requested distribution was not foundsSThe '{self.req}' distribution was not found and is required by {self.requirers_str}cC@s |jdS(Ni(Rb(R((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR¹€scC@s |jdS(Ni(Rb(R((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt requirers„scC@s|js dSdj|jƒS(Nsthe applications, (RÂRk(R((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt requirers_strˆs cC@s|jjtƒ�S(N(RºR»R¼(R((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR½ŽscC@s |jƒS(N(R½(R((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__str__‘s( RRRRºRÁR¹RÂRÃR½RÄ(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�zs cB@seZdZRS(s>Distribution doesn't have an "extra feature" of the given name(RRR(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�•siiiÿÿÿÿcC@s|t|scB@s>eZd„Zd„Zd„Zd„Zd„Zd„ZRS(cC@sdS(s;Does the package's distribution contain the named metadata?N((Rø((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt has_metadataDRdcC@sdS(s'The named metadata resource as a stringN((Rø((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt get_metadataGRdcC@sdS(sÒYield named metadata resource as list of non-blank non-comment lines Leading and trailing whitespace is stripped from each line, and lines with ``#`` as the first non-blank character are omitted.N((Rø((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytget_metadata_linesJRdcC@sdS(s>Is the named metadata a directory? (like ``os.path.isdir()``)N((Rø((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytmetadata_isdirPRdcC@sdS(s?List of metadata names in the directory (like ``os.listdir()``)N((Rø((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytmetadata_listdirSRdcC@sdS(s=Execute the named script in the supplied namespace dictionaryN((Röt namespace((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRsVRd(RRRüRýRþRÿRRs(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR¤Cs      cB@sDeZdZd„Zd„Zd„Zd„Zd„Zd„ZRS(s3An object that provides access to package resourcescC@sdS(sdReturn a true filesystem path for `resource_name` `manager` must be an ``IResourceManager``N((tmanagert resource_name((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytget_resource_filename]RdcC@sdS(siReturn a readable file-like object for `resource_name` `manager` must be an ``IResourceManager``N((RR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytget_resource_streambRdcC@sdS(smReturn a string containing the contents of `resource_name` `manager` must be an ``IResourceManager``N((RR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytget_resource_stringgRdcC@sdS(s,Does the package contain the named resource?N((R((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt has_resourcelRdcC@sdS(s>Is the named resource a directory? (like ``os.path.isdir()``)N((R((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRoRdcC@sdS(s?List of resource names in the directory (like ``os.listdir()``)N((R((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR}rRd( RRRRRRRRR}(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR¥Zs     cB@s×eZdZdd„Zed„ƒZed„ƒZd„Zd„Z d„Z dd„Z d„Z d „Z deed „Zdded „Zdded „Zd „Zed„Zd„Zd„Zd„ZRS(sDA collection of active distributions on sys.path (or a similar list)cC@s^g|_i|_i|_g|_|dkr<tj}nx|D]}|j|ƒqCWdS(s?Create working set from list of path entries (default=sys.path)N(tentriest entry_keystby_keyt callbacksRaRiRÖt add_entry(RRtentry((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__init__ys       cC@se|ƒ}yddlm}Wntk r1|SXy|j|ƒWntk r`|j|ƒSX|S(s1 Prepare the master working set. i(t __requires__(t__main__RRåRrRŽt_build_from_requirements(tclstwsR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt _build_master†s   cC@s�|gƒ}t|ƒ}|j|tƒƒ}x|D]}|j|ƒq4Wx0tjD]%}||jkrU|j|ƒqUqUW|jtj(|S(sQ Build a working set from a requirement spec. Rewrites sys.path. (R’tresolveR‡taddRiRÖRR (Rtreq_specRtreqstdistsR¸R ((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRšs    cC@sT|jj|gƒ|jj|ƒx*t|tƒD]}|j||tƒq3WdS(sÝAdd a path item to ``.entries``, finding any distributions on it ``find_distributions(entry, True)`` is used to find distributions corresponding to the path entry, and they are added. `entry` is always appended to ``.entries``, even if it is already present. (This is because ``sys.path`` can contain the same value more than once, and the ``.entries`` of the ``sys.path`` WorkingSet should always equal ``sys.path``.) N(R t setdefaultRR6RƒRéRRë(RR R¸((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR °s cC@s|jj|jƒ|kS(s9True if `dist` is the active distribution for its project(R R=R (RR¸((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt __contains__¿scC@sC|jj|jƒ}|dk r?||kr?t||ƒ‚n|S(sÐFind a distribution matching requirement `req` If there is an active distribution for the requested project, this returns it as long as it meets the version requirement specified by `req`. But, if there is an active distribution for the project and it does *not* meet the `req` requirement, ``VersionConflict`` is raised. If there is no active distribution for the requested project, ``None`` is returned. N(R R=R RaRŽ(RR¹R¸((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRÉÃs cc@sgx`|D]X}|j|ƒ}|dkrGx4|jƒD] }|Vq5Wq||kr||VqqWdS(sYield entry point objects from `group` matching `name` If `name` is None, yields all entry points in `group` from all distributions in the working set, otherwise only ones matching both `group` and `name` are yielded (in distribution order). N(RwRatvalues(RRmRøR¸Rtep((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRyÓs    cC@sQtjdƒj}|d}|jƒ||d<|j|ƒdj||ƒdS(s?Locate distribution for `requires` and run `script_name` scriptiRiN(RiRóRôR\RrRs(RtrequiresRöR÷Rø((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRsâs    cc@spi}xc|jD]X}||jkr+qnx:|j|D]+}||kr9d||<|j|Vq9q9WqWdS(s¸Yield distributions for non-duplicate projects in the working set The yield order is the order in which the items' path entries were added to the working set. iN(RR R (RtseentitemR ((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRBês  cC@sé|r"|j|j|d|ƒn|dkr:|j}n|jj|gƒ}|jj|jgƒ}| r„|j|jkr„dS||j|j<|j|kr¶|j|jƒn|j|krØ|j|jƒn|j |ƒdS(sAdd `dist` to working set, associated with `entry` If `entry` is unspecified, it defaults to the ``.location`` of `dist`. On exit from this routine, `entry` is added to the end of the working set's ``.entries`` (if it wasn't already present). `dist` is only added to the working set if it's for a project that doesn't already have a distribution in the set, unless `replace=True`. If it's added, any callbacks registered with the ``subscribe()`` method will be called. R0N( t insert_onRRatlocationR RR R R6t _added_new(RR¸R tinsertR0tkeystkeys2((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRûs   cC@s"t|ƒddd…}i}i}g}tƒ}tjtƒ} xØ|r|jdƒ} | |krmqFn|j| ƒs‚qFn|j| jƒ} | dkr�|j j| jƒ} | dksÓ| | krq|rq|} |dkr| dkrt |j ƒ}qt gƒ}t gƒ} n|j| | |ƒ} || j<| dkrq| j| dƒ} t| | ƒ‚qqn|j| ƒn| | kr²| | }t| | ƒj|ƒ‚n| j| jƒddd…}|j|ƒx/|D]'}| |j| jƒ| j|| Map each requirement to the extras that demanded it. c@s:‡fd†|jˆdƒdDƒ}ˆj p9t|ƒS(s» Evaluate markers for req against each extra that demanded it. Return False if the req has a marker and fails evaluation. Otherwise, return True. c3@s(|]}ˆjji|d6ƒVqdS(textraN(tmarkertevaluate(t.0RM(R¹(sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pys ýs(N(N(R=RaRNtany(RR¹t extra_evals((R¹sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR,ôs (RRRR,(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR(ïscB@s†eZdZd eƒed„Zd„Zd„Zd d„Z d„Z d„Z d d„Z d d„Z d „Zd „Zd „ZRS( s5Searchable snapshot of distributions on a search pathcC@s,i|_||_||_|j|ƒdS(s!Snapshot distributions available on a search path Any distributions found on `search_path` are added to the environment. `search_path` should be a sequence of ``sys.path`` items. If not supplied, ``sys.path`` is used. `platform` is an optional string specifying the name of the platform that platform-specific distributions must be compatible with. If unspecified, it defaults to the current platform. `python` is an optional string naming the desired version of Python (e.g. ``'3.3'``); it defaults to the current version. You may explicitly set `platform` (and/or `python`) to ``None`` if you wish to map *all* distributions, not just those compatible with the running platform or Python version. N(t_distmapRjtpythontscan(Rt search_pathRjRT((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRs   cC@sC|jdks0|jdks0|j|jkoBt|j|jƒS(såIs distribution `dist` acceptable for this environment? The distribution must match the platform and python version requirements specified when this environment was created, or False is returned. N(RTRat py_versionR–Rj(RR¸((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytcan_addscC@s|j|jj|ƒdS(s"Remove `dist` from the environmentN(RSR tremove(RR¸((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRY(scC@sQ|dkrtj}nx2|D]*}x!t|ƒD]}|j|ƒq2WqWdS(sdScan `search_path` for distributions usable in this environment Any distributions found are added to the environment. `search_path` should be a sequence of ``sys.path`` items. If not supplied, ``sys.path`` is used. Only distributions conforming to the platform/python version defined at initialization are added. N(RaRiRÖRƒR(RRVR R¸((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRU,s    cC@s|jƒ}|jj|gƒS(sReturn a newest-to-oldest list of distributions for `project_name` Uses case-insensitive `project_name` comparison, assuming all the project's distributions use their project's name converted to all lowercase as their key. (R3RSR=(RR0tdistribution_key((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR!;s cC@su|j|ƒrq|jƒrq|jj|jgƒ}||krq|j|ƒ|jdtjdƒdt ƒqqndS(sLAdd `dist` if we ``can_add()`` it and it has not already been added R thashcmptreverseN( RXt has_versionRSRR R6R<toperatort attrgetterRé(RR¸R((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRFs   cC@sW|j|ƒ}|dk r|Sx%||jD]}||kr-|Sq-W|j||ƒS(s¸Find distribution best matching `req` and usable on `working_set` This calls the ``find(req)`` method of the `working_set` to see if a suitable distribution is already active. (This may raise ``VersionConflict`` if an unsuitable version of the project is already active in the specified `working_set`.) If a suitable distribution isn't active, this method returns the newest distribution in the environment that meets the ``Requirement`` in `req`. If no suitable distribution is found, and `installer` is supplied, then the result of calling the environment's ``obtain(req, installer)`` method will be returned. N(RÉRaR tobtain(RR¹R�R3R¸((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR-Os   cC@s|dk r||ƒSdS(sÞObtain a distribution matching `requirement` (e.g. via download) Obtain a distro that matches requirement (e.g. via download). In the base ``Environment`` class, this routine just returns ``installer(requirement)``, unless `installer` is None, in which case None is returned instead. This method is a hook that allows subclasses to attempt other ways of obtaining a distribution before falling back to the `installer` argument.N(Ra(Rt requirementR3((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR`es cc@s0x)|jjƒD]}||r|VqqWdS(s=Yield the unique project names of the available distributionsN(RSR%(RR ((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRBqs cC@s{t|tƒr|j|ƒnXt|tƒrdxF|D](}x||D]}|j|ƒqFWq5Wntd|fƒ‚|S(s2In-place addition of a distribution or environmentsCan't add %r to environment(RRŠRR‡Rû(RRtprojectR¸((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__iadd__ws cC@s@|jgddddƒ}x||fD]}||7}q(W|S(s4Add an environment or distribution to an environmentRjRTN(RµRa(RRtnewR2((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__add__ƒsN(RRRRaRqtPY_MAJORRRXRYRUR!RR-R`RBRcRe(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR‡s       cB@seZdZRS(sTAn error occurred extracting a resource The following attributes are available from instances of this exception: manager The resource manager that raised this exception cache_path The base directory for resource extraction original_error The exception instance that caused extraction to fail (RRR(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR‘�s cB@s•eZdZdZd„Zd„Zd„Zd„Zd„Z d„Z d„Z d„Z dd „Z ed „ƒZd „Zd „Zed „ZRS(s'Manage resource extraction and packagescC@s i|_dS(N(t cached_files(R((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR£scC@st|ƒj|ƒS(sDoes the named resource exist?(RtR(Rtpackage_or_requirementR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR~¦scC@st|ƒj|ƒS(s,Is the named resource an existing directory?(RtR(RRhR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRªs cC@st|ƒj||ƒS(s4Return a true filesystem path for specified resource(RtR(RRhR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR|°s cC@st|ƒj||ƒS(s9Return a readable file-like object for specified resource(RtR(RRhR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR{¶s cC@st|ƒj||ƒS(s%Return specified resource as a string(RtR(RRhR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRz¼s cC@st|ƒj|ƒS(s1List the contents of the named resource directory(RtR}(RRhR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR}Âs cC@sttjƒd}|jptƒ}tjdƒjƒ}t|jt ƒ�ƒ}||_ ||_ ||_ |‚dS(s5Give an error message for problems extracting file(s)is Can't extract file(s) to egg cache The following error occurred while trying to extract file(s) to the Python egg cache: {old_exc} The Python egg cache directory is currently set to: {cache_path} Perhaps your account does not have write access to this directory? You can change the cache directory by setting the PYTHON_EGG_CACHE environment variable to point to an accessible directory. N( Ritexc_infotextraction_pathR†ttextwraptdedenttlstripR‘R»R¼Rt cache_pathtoriginal_error(Rtold_excRnttmplterr((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytextraction_errorÈs   cC@sn|jptƒ}tjj||d|Œ}yt|ƒWn|jƒnX|j|ƒd|j|<|S(s®Return absolute location in cache for `archive_name` and `names` The parent directory of the resulting path will be created if it does not already exist. `archive_name` should be the base filename of the enclosing egg (which may not be the name of the enclosing zipfile!), including its ".egg" extension. `names`, if provided, should be a sequence of path name parts "under" the egg's extraction location. This method should only be called by resource providers that need to obtain an extraction location, and only for names they intend to extract, as it tracks the generated names for possible cleanup later. s-tmpi( RjR†RÕRÖRkt_bypass_ensure_directoryRst_warn_unsafe_extraction_pathRg(Rt archive_nametnamest extract_patht target_path((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytget_cache_pathäs   cC@swtjdkr*|jtjdƒ r*dStj|ƒj}|tj@sV|tj@rsd|}tj |t ƒndS(sN If the default extraction path is overridden and set to an insecure location, such as /tmp, it opens up an opportunity for an attacker to replace an extracted file with an unauthorized payload. Warn the user if a known insecure location is used. See Distribute #375 for more details. tnttwindirNsË%s is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).( RÕRøR4tenvirontstattst_modetS_IWOTHtS_IWGRPR>R?t UserWarning(RÖtmodetmsg((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRuýs &cC@s@tjdkr<tj|ƒjdBd@}tj||ƒndS(s4Perform any platform-specific postprocessing of `tempname` This is where Mac header rewrites should be done; other platforms don't have anything special they should do. Resource providers should call this method ONLY after successfully extracting a compressed resource. They must NOT call it on resources that are already in the filesystem. `tempname` is the current (temporary) name of the file, and `filename` is the name it will be renamed to by the caller after this routine returns. tposiximiÿN(RÕRøR~Rtchmod(RttempnametfilenameRƒ((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt postprocessscC@s%|jrtdƒ‚n||_dS(sÒSet the base path where resources will be extracted to, if needed. If you do not call this routine before any extractions take place, the path defaults to the return value of ``get_default_cache()``. (Which is based on the ``PYTHON_EGG_CACHE`` environment variable, with various platform-specific fallbacks. See that routine's documentation for more details.) Resources are extracted to subdirectories of this path based upon information given by the ``IResourceProvider``. You may set this to a temporary directory, but then you must call ``cleanup_resources()`` to delete the extracted files when done. There is no guarantee that ``cleanup_resources()`` will be able to remove all extracted files. (Note: you may not change the extraction path for a given resource manager once resources have been extracted, unless you first call ``cleanup_resources()``.) s5Can't change extraction path, files already extractedN(RgRnRj(RRÖ((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR„)s  cC@sdS(sB Delete all extracted resource files and directories, returning a list of the file and directory names that could not be successfully removed. This function does not have any concurrency protection, so it should generally only be called when the extraction path is a temporary directory exclusive to a single process. This method is not automatically called; you must call it explicitly or register it as an ``atexit`` function if you wish to ensure cleanup of a temporary directory used for extractions. N((Rtforce((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR…CRdN((RRRRaRjRR~RR|R{RzR}RsRzt staticmethodRuR‰R„RëR…(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR‰Ÿs           cC@s"tjjdƒp!tjddƒS(sŒ Return the ``PYTHON_EGG_CACHE`` environment variable or a platform-relevant user cache dir for an app named "Python-Eggs". tPYTHON_EGG_CACHEtappnames Python-Eggs(RÕR}R=R tuser_cache_dir(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR†QscC@stjdd|ƒS(s�Convert an arbitrary string to a standard distribution name Any runs of non-alphanumeric/. characters are replaced with a single '-'. s[^A-Za-z0-9.]+R%(R:tsub(Rø((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR“]scC@sZyttjj|ƒƒSWn9tjjk rU|jddƒ}tjdd|ƒSXdS(sB Convert an arbitrary string to a standard version string RâR)s[^A-Za-z0-9.]+R%N(RARREtVersionRFR0R:R�(RE((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR”es cC@stjdd|ƒjƒS(s±Convert an arbitrary string to a standard 'extra' name Any runs of non-alphanumeric characters are replaced with a single '_', and the result is always lowercased. s[^A-Za-z0-9.-]+Rã(R:R�R3(RM((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR™qscC@s|jddƒS(s|Convert a project or version name to its filename-escaped form Any '-' characters are currently replaced with '_'. R%Rã(R0(Rø((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRšzscC@s;yt|ƒWn&tk r6}d|_d|_|SXtS(so Validate text as a PEP 508 environment marker; return an exception if invalid or False otherwise. N(Rœt SyntaxErrorRaRˆtlinenoRë(ttextte((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR›‚s  cC@sLy tjj|ƒ}|jƒSWn%tjjk rG}t|ƒ‚nXdS(sÙ Evaluate a PEP 508 environment marker. Return a boolean indicating the marker result in this environment. Raise SyntaxError if marker is invalid. This implementation uses the 'pyparsing' module. N(RtmarkerstMarkerROt InvalidMarkerR‘(R“RMRNR”((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRœ�s cB@sÂeZdZdZdZdZd„Zd„Zd„Z d„Z d„Z d„Z d„Z d„Zd „Zd „Zd „Zd „Zd „Zd„Zd„Zd„Zd„Zd„ZRS(sETry to implement resources and metadata for arbitrary PEP 302 loaderscC@s:t|ddƒ|_tjjt|ddƒƒ|_dS(NRÈt__file__Rd(RÍRaRÑRÕRÖtdirnamet module_path(RRÐ((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR¦scC@s|j|j|ƒS(N(t_fnRš(RRR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRªscC@stj|j||ƒƒS(N(tiotBytesIOR(RRR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR­scC@s|j|j|j|ƒƒS(N(t_getR›Rš(RRR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR°scC@s|j|j|j|ƒƒS(N(t_hasR›Rš(RR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR³scC@s%|jo$|j|j|j|ƒƒS(N(tegg_infoRŸR›(RRø((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRü¶scC@sE|js dS|j|j|j|ƒƒ}tjrA|jdƒS|S(NRdsutf-8(R RžR›RtPY3tdecode(RRøtvalue((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRý¹s cC@st|j|ƒƒS(N(R—Rý(RRø((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRþ¿scC@s|j|j|j|ƒƒS(N(t_isdirR›Rš(RR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRÂscC@s%|jo$|j|j|j|ƒƒS(N(R R¤R›(RRø((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRÿÅscC@s|j|j|j|ƒƒS(N(t_listdirR›Rš(RR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR}ÈscC@s)|jr%|j|j|j|ƒƒSgS(N(R R¥R›(RRø((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRËs c B@sd|}|j|ƒs,ed|ƒ‚n|j|ƒjddƒ}|jddƒ}|j|j|ƒ}||dsN( RRRR¤RŸRžR¥RaRšR(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR©6s    t ZipManifestscB@s#eZdZed„ƒZeZRS(s zip manifest builder c@s?t|ƒ�-‰‡fd†ˆjƒDƒ}t|ƒSWdQXdS(s Build a dictionary similar to the zipimport directory caches, except instead of tuples, store ZipInfo objects. Use a platform-specific path separator (os.sep) for the path keys for compatibility with pypy on Windows. c3@s3|])}|jdtjƒˆj|ƒfVqdS(R²N(R0RÕtseptgetinfo(RPRø(tzfile(sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pys UsN(tContextualZipFiletnamelistRL(RRÖRR((RÆsF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytbuildJs  (RRRRLRÉtload(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRÃEstMemoizedZipManifestscB@s)eZdZejddƒZd„ZRS(s% Memoized zipfile manifests. t manifest_modsmanifest mtimecC@svtjj|ƒ}tj|ƒj}||ksC||j|krk|j|ƒ}|j||ƒ||"os.rename" and "os.unlink" are not supported on this platforms .$extracttdirR{(t_indexRåRÕRÖRkR™RïRât WRITE_SUPPORTtIOErrorRzRµRàt _is_currentt_mkstemptwriteRÑR´RÓRR‰RterrortisfileRøR Rs( RRRßRøtlastRîRít real_pathtoutfttmpnam((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRå¿s@$    c C@s£|j|j|ƒ\}}tjj|ƒs2tStj|ƒ}|j|ks_|j|krctS|j j |ƒ}t |dƒ�}|j ƒ}WdQX||kS(sK Return True if the file_path is current for this zip_path R¼N( RïRâRÕRÖRøRëR~tst_sizeRÎRÑR´R R¨( Rt file_pathRßRîRíR~t zip_contentstft file_contents((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRôóscC@sa|jdkrZg}x6dD].}|j|ƒr|j|j|ƒƒqqW||_n|jS(Nsnative_libs.txtseager_resources.txt(snative_libs.txtseager_resources.txt(RçRaRüR/Rþ(RRçRø((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRäs  cC@s´y |jSWn¢tk r¯i}x~|jD]s}|jtjƒ}xX|r�tjj|d ƒ}||kr‡||j|dƒPqF|jƒg||R?(RR treplacement_charRqR„((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRLs  cC@st|j|ƒƒS(N(R—Rý(RRø((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRþTs(RRRRRüRýRRþ(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR¦1s     cB@seZdZd„ZRS(ssMetadata provider for egg directories Usage:: # Development eggs: egg_info = "/path/to/PackageName.egg-info" base_dir = os.path.dirname(egg_info) metadata = PathMetadata(base_dir, egg_info) dist_name = os.path.splitext(os.path.basename(egg_info))[0] dist = Distribution(basedir, project_name=dist_name, metadata=metadata) # Unpacked egg directories: egg_path = "/path/to/PackageName-ver-pyver-etc.egg" metadata = PathMetadata(egg_path, os.path.join(egg_path,'EGG-INFO')) dist = Distribution.from_filename(egg_path, metadata=metadata) cC@s||_||_dS(N(RšR (RRÖR ((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRls (RRRR(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR§XscB@seZdZd„ZRS(s Metadata provider for .egg filescC@s`|jtj|_||_|jrFtjj|j|jƒ|_n |j|_|j ƒdS(s-Create a metadata provider from a zipimporterN( RÚRÕRÄRÛRÑtprefixRÖRkRšR¶(Rtimporter((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRts   ! (RRRR(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR¨qsRLt_distribution_finderscC@s|t|>> names = 'bar', 'foo', 'Python-2.7.10.egg', 'Python-2.7.2.egg' >>> _by_version_descending(names) ['Python-2.7.10.egg', 'Python-2.7.2.egg', 'foo', 'bar'] >>> names = 'Setuptools-1.2.3b1.egg', 'Setuptools-1.2.3.egg' >>> _by_version_descending(names) ['Setuptools-1.2.3.egg', 'Setuptools-1.2.3b1.egg'] >>> names = 'Setuptools-1.2.3b1.egg', 'Setuptools-1.2.3.post1.egg' >>> _by_version_descending(names) ['Setuptools-1.2.3.post1.egg', 'Setuptools-1.2.3b1.egg'] cS@sYtjj|ƒ\}}tj|jdƒ|gƒ}g|D]}tjj|ƒ^q=S(s6 Parse each component of the filename R%( RÕRÖtsplitextt itertoolstchainR RRERú(RøtextR7R.((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt _by_versionÂsR R\(tsortedRé(RwR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt_by_version_descending³s cc@s9t|ƒ}tjj|ƒr5tj|tjƒr5t|ƒrntj|dt |tjj |dƒƒƒVq5t tj |ƒƒ}x¯|D]¤}|j ƒ}|jdƒsº|jdƒr=tjj ||ƒ}tjj|ƒrttj |ƒƒdkrqŠnt ||ƒ}n t|ƒ}tj|||dtƒVqŠ| r„t|ƒr„ttjj ||ƒƒ}xÀ|D] } | VqrWqŠ| rŠ|jdƒrŠttjj ||ƒƒ�} | jƒ} WdQXxa| D]V} | jƒséqÑntjj || jƒƒ} t| ƒ}x|D] }|VqWPqÑWqŠqŠWndS( s6Yield distributions accessible on a sys.path directoryR sEGG-INFOs .egg-infos .dist-infoit precedences .egg-linkN(t_normalize_cachedRÕRÖR taccesstR_OKR·RŠRR§RkR!R»R3RRªR¦t from_locationR£RƒR t readlineststriptrstrip(R RRtpath_item_entriesR R3tfullpathR RR¸t entry_filet entry_linestlineRÖR ((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt find_on_pathÍsB '             t FileFindert_namespace_handlerst_namespace_packagescC@s|t|[^-]+) ( -(?P[^-]+) ( -py(?P[^-]+) ( -(?P.+) )? )? )? cB@sªeZdZd d dd„Zd„Zd„Zed„Zd„Z ddd„Z e j dƒZ edd„ƒZed „ƒZedd „ƒZedd „ƒZRS(s3Object representing an advertised importable objectcC@snt|ƒstd|ƒ‚n||_||_t|ƒ|_tjddj|ƒƒj |_ ||_ dS(NsInvalid module namesx[%s]t,( tMODULERnRøt module_nameRtattrsR‹RúRkR.R¸(RRøR[R\R.R¸((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRÓs   "cC@sfd|j|jf}|jr<|ddj|jƒ7}n|jrb|ddj|jƒ7}n|S(Ns%s = %st:R)s [%s]RY(RøR[R\RkR.(RR-((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRÄÜs   cC@sdt|ƒS(NsEntryPoint.parse(%r)(RA(R((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR·äscO@sO| s|s|r,tjdtddƒn|rE|j||Žn|jƒS(sH Require packages for this EntryPoint, then resolve it. sJParameters to load are deprecated. Call .resolve and .require separately.R9i(R>R?tDeprecationWarningRrR(RRrRbRÙ((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRÊçs cC@sdt|jddgddƒ}ytjt|j|ƒSWn%tk r_}tt|ƒƒ‚nXdS(sD Resolve the entry point from its module and attrs. tfromlistRtleveliN( RÌR[t functoolstreduceRÍR\RRåRA(RRÐtexc((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRös cC@si|jr%|j r%td|ƒ‚n|jj|jƒ}tj|||ƒ}tttj|ƒƒdS(Ns&Can't require() without a distribution( R.R¸R�RR�RR'RR(RR2R3RRR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRr s s]\s*(?P.+?)\s*=\s*(?P[\w.]+)\s*(:\s*(?P[\w.]+))?\s*(?P\[.*\])?\s*$cC@s�|jj|ƒ}|s0d}t||ƒ‚n|jƒ}|j|dƒ}|drl|djdƒnd}||d|d|||ƒS(sParse a single entry point from string `src` Entry point syntax follows the form:: name = some.module:some.attr [extra1, extra2] The entry name and module name are required, but the ``:attrs`` and ``[extras]`` parts are optional s9EntryPoint must be in 'name=module:attrs [extras]' formatR.tattrR)RøRÐ((tpatternRhRnt groupdictt _parse_extrasR (RtsrcR¸RpR„tresR.R\((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRú s  #cC@s9|s dStjd|ƒ}|jr2tƒ‚n|jS(Ntx((R‹RútspecsRnR.(Rt extras_specR¹((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRg$ s   cC@s…t|ƒstd|ƒ‚ni}xZt|ƒD]L}|j||ƒ}|j|krptd||jƒ‚n|||j '{project_name} ({version})' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommended to migrate to PEP 440 compatible versions. s Râ(RREt LegacyVersionRRˆRkRlR(R0R>R?R»tvarsR(RtLVt is_legacyRq((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt_warn_legacy_version½ s  cC@sgy |jSWnUtk rbt|j|jƒƒ}|dkr^d}t||j|ƒ‚n|SXdS(Ns(Missing 'Version:' header and/or %s file(R~RR|t _get_metadatatPKG_INFORaRn(RRERq((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRE× s   cC@súy |jSWnètk rõigd6}|_x¿dD]·}x®t|j|ƒƒD]—\}}|rÊd|krµ|jddƒ\}}t|ƒr�g}qµt|ƒsµg}qµnt|ƒpÄd}n|j |gƒj t |ƒƒqRWq6W|SXdS(Ns requires.txts depends.txtR]i(s requires.txts depends.txt( t_Distribution__dep_mapRRaR˜RŽR R›RœR™RR/R’(RtdmRøRMRRN((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt_dep_mapâ s    "     'cC@s‚|j}g}|j|jddƒƒxS|D]K}y|j|t|ƒƒWq/tk rytd||fƒ‚q/Xq/W|S(s@List of Requirements needed for this distro if `extras` are useds%s has no such extra feature %rN((R’R/R=RaR™RËR�(RR.R‘tdepsR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRö s   cc@s5|j|ƒr1x|j|ƒD] }|VqWndS(N(RüRþ(RRøR.((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRŽ scC@s„|dkrtj}n|j|d|ƒ|tjkr€t|jƒx6|jdƒD]"}|tjkrWt|ƒqWqWWndS(s>Ensure distribution is importable on `path` (default=sys.path)R0snamespace_packages.txtN( RaRiRÖR!R²R"RŽRÊR€(RRÖR0tpkg((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytactivate s   cC@sOdt|jƒt|jƒ|jp'tf}|jrK|d|j7}n|S(s@Return what this distribution's standard .egg filename should bes %s-%s-py%sR%(RšR0RERWRfRj(RRˆ((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRµ s  cC@s(|jrd||jfSt|ƒSdS(Ns%s (%s)(R"RA(R((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR· s cC@sMyt|ddƒ}Wntk r/d}nX|p9d}d|j|fS(NREs[unknown version]s%s %s(RÍRaRnR0(RRE((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRÄ% s    cC@s.|jdƒrt|ƒ‚nt|j|ƒS(sADelegate all unrecognized public attributes to .metadata providerRã(R4RRÍR(RRd((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt __getattr__- scK@s(|jt|ƒtjj|ƒ||�S(N(R&R#RÕRÖR¸(RRˆR RO((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR3 scC@sTt|jtjjƒr1d|j|jf}nd|j|jf}tj|ƒS(s?Return a ``Requirement`` that matches this distribution exactlys%s==%ss%s===%s(RR…RRER�R0R‹Rú(Rtspec((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR=: scC@sD|j||ƒ}|dkr:td||ffƒ‚n|jƒS(s=Return the `name` entry point of `group` or raise ImportErrorsEntry point %r not foundN(RxRaRåRÊ(RRmRøR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRvC s cC@scy |j}Wn3tk rBtj|jdƒ|ƒ}|_nX|dk r_|j|iƒS|S(s=Return the entry point map for `group`, or the full entry mapsentry_points.txtN(t_ep_mapRRŒRrRŽRaR=(RRmtep_map((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRwJ s    cC@s|j|ƒj|ƒS(s<Return the EntryPoint object for `group`+`name`, or ``None``(RwR=(RRmRø((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRxV sc C@s¬|p |j}|sdSt|ƒ}tjj|ƒ}g|D]}|rVt|ƒpY|^q>}xót|ƒD]Ÿ\}}||kr˜|r‘PqdSqo||kro|jtkro| rÎ|||krÎdS|tjkrê|j ƒn|j ||ƒ|j ||ƒPqoqoW|tjkr.|j ƒn|rG|j d|ƒn |j |ƒdSxMt r§y|j ||dƒ} Wntk r�Pq[X|| =|| =| }q[WdS(säEnsure self.location is on path If replace=False (default): - If location is already in path anywhere, do nothing. - Else: - If it's an egg and its parent directory is on path, insert just ahead of the parent. - Else: add to the end of path. If replace=True: - If location is already on path anywhere (not eggs) or higher priority than its parent (eggs) do nothing. - Else: - If it's an egg and its parent directory is on path, insert just ahead of the parent, removing any lower-priority entries. - Else: add it to the front of path. Nii(R"R#RÕRÖR™t enumerateR"RŸRitcheck_version_conflictR$R6RéR?Rn( RRÖtlocR0tnloctbdirRItnpathR tnp((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR!Z sB +       cC@sý|jdkrdStj|jdƒƒ}t|jƒ}x¼|jdƒD]«}|tjksJ||ksJ|tkr}qJn|dkr�qJnt tj|ddƒ}|rÛt|ƒj |ƒsJ|j |jƒrÛqJnt d|||jfƒqJWdS( Nt setuptoolssnamespace_packages.txts top_level.txtt pkg_resourcestsiteR˜sIModule %s was already imported from %s, but %s is being added to sys.path(R¢R¡R£( R RLRMRŽRžR"RiRÊR2RÍRaR4t issue_warning(RtnspRœtmodnametfn((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR›� s"  cC@s8y |jWn&tk r3tdt|ƒƒtSXtS(NsUnbuilt egg for (RERnR¤R¶RëRé(R((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR]³ s   cK@sYd}x0|jƒD]"}|j|t||dƒƒqW|jd|jƒ|j|�S(s@Copy this distribution, substituting in any changed keyword argss<project_name version py_version platform location precedenceR N(R RRÍRaRRµ(RRORwRd((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytclone» s  cC@s g|jD]}|r |^q S(N(R’(Rtdep((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR.à sN((+RRRR�RaRfRŸRRLR&R„RÁR[RRRRRRRR R…R�RER’RRŽRëR•RµR·RÄR–RR=RvRwRxR!R›R]R¨R.(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRŠc sN                    C   tEggInfoDistributioncB@seZd„ZRS(cC@s.t|j|jƒƒ}|r*||_n|S(sñ Packages installed by distutils (e.g. numpy or scipy), which uses an old safe_version, and so their version numbers can get mangled when converted to filenames (e.g., 1.11.0.dev0+2329eae to 1.11.0.dev0_2329eae). These distributions will not be parsed properly downstream by Distribution and safe_version, so take an extra step and try to get the version number from the metadata file itself instead of the filename. (R|RŽR�R~(Rt md_version((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR„É s  (RRR„(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRªÈ stDistInfoDistributioncB@sJeZdZdZejdƒZed„ƒZed„ƒZ d„Z RS(sGWrap an actual or potential sys.path entry w/metadata, .dist-info styletMETADATAs([\(,])\s*(\d.*?)\s*([,\)])cC@sTy |jSWnBtk rO|j|jƒ}tjjƒj|ƒ|_|jSXdS(sParse and cache metadataN(t _pkg_infoRRýR�temailtparsertParsertparsestr(RR ((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt_parsed_pkg_infoà s   cC@s6y |jSWn$tk r1|jƒ|_|jSXdS(N(t_DistInfoDistribution__dep_mapRt_compute_dependencies(R((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR’ê s   c@sÛigd6}|_g‰x3|jjdƒp2gD]}ˆjt|ƒƒq3W‡fd†}t|dƒƒ}|dj|ƒxR|jjdƒpšgD]8}t|jƒƒ}t t||ƒƒ|ƒ||R?(RbROR`RT((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR¤ s  tRequirementParseErrorcB@seZd„ZRS(cC@sdj|jƒS(NRâ(RkRb(R((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRÄ s(RRRÄ(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR¼ scc@s†tt|ƒƒ}xm|D]e}d|krA||jdƒ }n|jdƒrs|d jƒ}|t|ƒ7}nt|ƒVqWdS(sŠYield ``Requirement`` objects for each specification in `strs` `strs` must be a string, or a (possibly-nested) iterable thereof. s #s\iþÿÿÿN(RxR—RÉRR(RwR‹(RWRmR.((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR’# s  cB@sMeZd„Zd„Zd„Zd„Zd„Zd„Zed„ƒZ RS(cC@sytt|ƒj|ƒWn+tjjk rG}tt|ƒƒ‚nX|j|_ t |jƒ}||j ƒ|_ |_ g|jD]}|j|jf^q†|_ttt|jƒƒ|_|j |jt|jƒ|jròt|jƒndf|_t|jƒ|_dS(s>DO NOT CALL THIS UNDOCUMENTED METHOD; use Requirement.parse()!N(RR‹RRR1tInvalidRequirementR¼RARøt unsafe_nameR“R3R0R t specifierR^RERkRRR™R.R¸RNRathashCmpR†t_Requirement__hash(Rtrequirement_stringR”R0R—((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR7 s + $cC@st|tƒo|j|jkS(N(RR‹RÀ(RR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRK scC@s ||k S(N((RR((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRQ scC@sGt|tƒr1|j|jkr%tS|j}n|jj|dtƒS(Nt prereleases(RRŠR RëRER¿tcontainsRé(RR ((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRT s  cC@s|jS(N(RÁ(R((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR` scC@sdt|ƒS(NsRequirement.parse(%r)(RA(R((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR·c RdcC@st|ƒ\}|S(N(R’(R-R¹((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRúe s( RRRRRRRR·R‹Rú(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR‹6 s     cC@s:t|tƒs3d|tfd„ƒY}|jdS|jS(s&Get an mro for a type or classic classRcB@seZRS((RR(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRo si(RRÀtobjectt__mro__(R((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt_get_mrok s cC@sAx:tt|dt|ƒƒƒD]}||kr||SqWdS(s2Return an adapter factory for `ob` from `registry`RµN(RÇRÍRÀ(tregistryR]tt((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRÎv s% cC@s8tjj|ƒ}tjj|ƒs4tj|ƒndS(s1Ensure that the parent directory of `path` existsN(RÕRÖR™R tmakedirs(RÖR™((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�} scC@s^tstdƒ‚nt|ƒ\}}|rZ|rZt|ƒ rZt|ƒt|dƒndS(s/Sandbox-bypassing version of ensure_directory()s*"os.mkdir" not supported on this platform.iíN(RòRóR R RtR(RÖR™Rˆ((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRt„ s  cc@s¥d}g}x‡t|ƒD]y}|jdƒr…|jdƒrs|sI|rW||fVn|dd!jƒ}g}q’td|ƒ‚q|j|ƒqW||fVdS(ssSplit a string or iterable thereof into (section, content) pairs Each ``section`` is a stripped version of the section header ("[section]") and each ``content`` is a list of stripped lines excluding blank lines and comment-only lines. If there are any such lines before the first section header, they're returned in a first ``section`` of ``None``. t[t]iiÿÿÿÿsInvalid section headingN(RaR—R4RR(RnR6(R-tsectiontcontentR.((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR˜Ž s  cO@s7tj}ztt_tj||ŽSWd|t_XdS(N(RÕR tos_openttempfiletmkstemp(RbROtold_open((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRõ¨ s   tignoretcategoryR6cO@s|||Ž|S(N((RRbRÙ((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt _call_aside» s cC@sStƒ}||dR~RatpkgutilR^RjR)RÙt email.parserR¯RÐRkRRRJRåtimpt pip._vendorRtpip._vendor.six.movesRRRRRRR RéRòRëR RÏtos.pathR R timportlib.machineryt machineryR¿RRaR RRÌt version_infoR„R?RrR�R@RRÅRRER�RCR‰RDRHRKRPRVRXR[R^R_R`t _sget_nonet _sset_noneRqt__all__t ExceptionR�RŽR¾R�R�RÅRfRŸR R¡R¢R£R±RtRlRáRfR;RgRêR•R–RsR³RuRvRwRxR¤R¥RˆRLR(R‡R´t RuntimeErrorR‘R‰R†R“R”R™RšR›RœR«R¬R­RÂR©RªRÃRËR×RÇR®RR¦R§R¨R¯RƒRRR!R/t ImpImporterRØR0R°R=R:R€R²RORPRžR#R·R8R—RhRZR<t IGNORECASERƒRŒRvR|RŠRªR¬R‚R¤RnR¼R’R1R‹RÇRÎR�RtR˜RõtfilterwarningsRÕRIR×RØ(((sF/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyts¦                               +b                                  .    ÿz‰²    a   ¦'      .    !        ~ ÿf/   5