;ò ÝÚÜFcC@s®dZdkZdkZdkZdkZdkZdkZdkZyeWn e j odk l ZnXdkl Z l Z lZdklZd„Zdddd d d d d ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdDdEdFdGdHgCZd!efdI„ƒYZd"efdJ„ƒYZd#efdK„ƒYZd$efdL„ƒYZhZeidM ZdMZdNZdOZdPZdQZdR„Z dS„Z!gdT„Z"dU„Z#dV„Z$ei%dWƒZ&ei%dXƒZ'e$Z(dY„Z)dZ„Z*e*Z+d[„Z,d\„Z-e.d]„Z/d^„Z0d7fd_„ƒYZ1d8e1fd`„ƒYZ2de3fda„ƒYZ4de3fdb„ƒYZ5e5Z6d%e7fdc„ƒYZ8dfdd„ƒYZ9de„Z:df„Z;dg„Z<dh„Z=di„Z>d>fdj„ƒYZ?e e3e?ƒd?e?fdk„ƒYZ@d@e@fdl„ƒYZAe eBe.ƒeAƒd<e?fdm„ƒYZCeCƒZDdAe@fdn„ƒYZEe eiFeEƒd9eCfdo„ƒYZGd:eAfdp„ƒYZHd;eEfdq„ƒYZIdrfds„ƒYZJdtfdu„ƒYZKdv„ZLydwkMlLZLlNZNWneOj onXeNZJ[K[NhZPdx„ZQeRdy„ZSeRdz„ZTeQeiFeTƒd{„aUeRd|„ZVeQe3eVƒeRd}„ZWeQeJeWƒhZXhZYd~„ZZd„Z[d€„Z\e.d„Z]d‚„Z^eZeJe^ƒeZeiFe^ƒdƒ„Z_eZe3e_ƒd„„Z`hd…„Zad†„Zbd‡„Zcei%dˆƒidZeei%d‰ƒidZfei%dŠƒidZgei%d‹ƒidZhei%dŒƒidZiei%dƒidZjei%dŽƒidZkei%dƒidZlei%deimeinBƒidZoei%d‘eimƒZphd’d“<d”d“<d•d–<d—d“<d˜d™Distribution doesn't have an "extra feature" of the given name(s__name__s __module__s__doc__(((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys UnknownExtra†s iiiiiÿÿÿÿcCs|t|+cCsNtidƒi}|d}|iƒ||dtZd„Zd„Zd„Zd„Zd„Zd„ZRS(NcCsdS(s;Does the package's distribution contain the named metadata?N((sname((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys has_metadata"scCsdS(s'The named metadata resource as a stringN((sname((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys get_metadata%scCsdS(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((sname((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysget_metadata_lines(scCsdS(s>Is the named metadata a directory? (like ``os.path.isdir()``)N((sname((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysmetadata_isdir.scCsdS(s?List of metadata names in the directory (like ``os.listdir()``)N((sname((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysmetadata_listdir1scCsdS(s=Execute the named script in the supplied namespace dictionaryN((s script_names namespace((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys run_script4s(s__name__s __module__s has_metadatas get_metadatasget_metadata_linessmetadata_isdirsmetadata_listdirs run_script(((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysIMetadataProvider s      cBsDtZdZd„Zd„Zd„Zd„Zd„Zd„ZRS(s3An object that provides access to package resourcescCsdS(sdReturn a true filesystem path for `resource_name` `manager` must be an ``IResourceManager``N((smanagers resource_name((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysget_resource_filenameLscCsdS(siReturn a readable file-like object for `resource_name` `manager` must be an ``IResourceManager``N((smanagers resource_name((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysget_resource_streamQscCsdS(smReturn a string containing the contents of `resource_name` `manager` must be an ``IResourceManager``N((smanagers resource_name((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysget_resource_stringVscCsdS(s,Does the package contain the named resource?N((s resource_name((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys has_resource[scCsdS(s>Is the named resource a directory? (like ``os.path.isdir()``)N((s resource_name((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysresource_isdir^scCsdS(s?List of resource names in the directory (like ``os.listdir()``)N((s resource_name((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysresource_listdiras( s__name__s __module__s__doc__sget_resource_filenamesget_resource_streamsget_resource_strings has_resourcesresource_isdirsresource_listdir(((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysIResourceProviderIs      cBsžtZdZed„Zd„Zd„Zd„Zed„Zd„Z d„Z ee d„Z eed „Z eee d „Zd „Zd „Zd „ZRS(sDA collection of active distributions on sys.path (or a similar list)cCs`g|_h|_h|_g|_|tjo ti}nx|D]}|i |ƒqEWdS(s?Create working set from list of path entries (default=sys.path)N( sselfsentriess entry_keyssby_keys callbackssNonessysspathsentrys add_entry(sselfsentriessentry((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys__init__us      cCsT|ii|gƒ|ii|ƒx*t|tƒD]}|i ||t ƒq3WdS(sÝAdd a path item to ``.entries``, finding any distributions on it ``find_distributions(entry,False)`` 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( sselfs entry_keyss setdefaultsentrysentriessappendsfind_distributionssTruesdistsaddsFalse(sselfsentrysdist((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys add_entryƒs cCs|ii|iƒ|jSdS(s9True if `dist` is the active distribution for its projectN(sselfsby_keysgetsdistskey(sselfsdist((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys __contains__“scCsJ|ii|iƒ}|tj o ||jot||ƒ‚n|SdS(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(sselfsby_keysgetsreqskeysdistsNonesVersionConflict(sselfsreqsdist((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysfind›s ccsixb|D]Z}|i|ƒ}|tjox5|iƒD] }|Vq6Wq||jo ||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( sselfsdists get_entry_mapsgroupsentriessnamesNonesvaluessep(sselfsgroupsnamesdistsentriessep((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysiter_entry_points«s    cCsQtidƒi}|d}|iƒ||d<|i|ƒdi ||ƒdS(s?Locate distribution for `requires` and run `script_name` scriptis__name__iN( ssyss _getframes f_globalssnssnamesclearsselfsrequiresrequiress run_scripts script_name(sselfsrequiress script_namesnamesns((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys run_scriptºs    ccs\h}xO|iD]D}x;|i|D],}||jod||<|i|Vq$q$WqWdS(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(sseensselfsentriessitems entry_keysskeysby_key(sselfsseenskeysitem((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys__iter__Äs   cCsé|o|i|i|ƒn|tjo |i}n|ii |gƒ}|ii |igƒ}|i |i jodSn||i |i <|i |jo|i|i ƒn|i |jo|i|i ƒn|i|ƒdS(sùAdd `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. If it's added, any callbacks registered with the ``subscribe()`` method will be called. N(sinsertsdists insert_onsselfsentriessentrysNoneslocations entry_keyss setdefaultskeysskeys2skeysby_keysappends _added_new(sselfsdistsentrysinsertskeysskeys2((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysaddÑs   c Csht|ƒddd…}h}h}g}x2|o*|idƒ}||joq.n|i|iƒ}|t jo”|i i|iƒ}|t joa|t jot|iƒ}n|i|||ƒ}||i<|t jot|ƒ‚qún|i|ƒn||jot||ƒ‚n|i|i|iƒddd…ƒt||ëscCsdS(Ns((sselfspath((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysìscCsgS(N((sselfspath((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysíscCsdS(N((sself((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys__init__ðs( s__name__s __module__s__doc__s_isdirs_hass_gets_listdirsNones module_paths__init__(((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys EmptyProviderès    cBs€tZdZeZd„Zd„Zd„Zd„Zd„Z d„Z d„Z d„Z d „Z d „Zd „Zd „ZRS( s"Resource support for zips and eggscCs@ti||ƒti|ii|_|iit i |_ dS(N( s EggProviders__init__sselfsmodules zipimports_zip_directory_cachesloadersarchiveszipinfososssepszip_pre(sselfsmodule((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys__init__ýscCsE|i|iƒo|t|iƒSntd||ifƒ‚dS(Ns%s is not a subpath of %s(sfspaths startswithsselfszip_preslensAssertionError(sselfsfspath((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys _zipinfo_namescCsi|i|}|i|itiƒo%|t|iƒdi tiƒSnt d||ifƒ‚dS(Nis%s is not a subpath of %s( sselfszip_preszip_pathsfspaths startswithsegg_rootsosssepslenssplitsAssertionError(sselfszip_pathsfspath((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys_parts s %cCs—|i otdƒ‚n|i|ƒ}|iƒ}di|i |ƒƒ|jo.x+|D]}|i ||i |ƒƒq\Wn|i ||ƒSdS(Ns5resource_filename() only supported for .egg, not .zips/(sselfsegg_namesNotImplementedErrors_resource_to_zips resource_nameszip_paths_get_eager_resourcesseagerssjoins_partssnames_extract_resourcesmanagers _eager_to_zip(sselfsmanagers resource_nameszip_pathseagerssname((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysget_resource_filenames  !c Cs¥||iƒjoPx9|iƒ|D]'}|i|tii||ƒƒ}q$Wtii |ƒSn|i |}|d|d|df\} } } | d?d| d?d@| d@| d@d ?| d?d @| d@d d d d f }ti|ƒ}yŠ|i|i|i|ƒƒ}tii|ƒo;ti|ƒ}|i| jo |i|jo|Sq_ntddtii |ƒƒ\} } ti| |i i!|ƒƒti"| ƒt#| ||fƒ|i$| |ƒyt%| |ƒWn–ti&j o‡tii|ƒojti|ƒ}|i| jo |i|jo|Sqqtidjot'|ƒt%| |ƒ|Sqqn‚nXWn ti&j o|i(ƒnX|SdS(Niiii i¼iiiÿÿi i?iiiÿÿÿÿs .$extractsdirsnt()szip_pathsselfs_indexsnames_extract_resourcesmanagersosspathsjoinslastsdirnameszipinfoszip_statstsdssizes date_timestimesmktimes timestampsget_cache_pathsegg_names_partss real_pathsisfilesstatsst_sizesst_mtimes_mkstempsoutfstmpnamswritesloadersget_datasclosesutimes postprocesssrenameserrorsunlinksextraction_error(sselfsmanagerszip_paths date_timesstatslastsnames real_paths timestampstmpnamsdstsoutfssizeszip_stat((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys_extract_resource!sF% $M  $      cCso|itjoTg}x>ddfD]0}|i|ƒo|i|i|ƒƒq#q#W||_n|iSdS(Nsnative_libs.txtseager_resources.txt(sselfseagerssNonesnames has_metadatasextendsget_metadata_lines(sselfseagerssname((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys_get_eager_resourcesYs  cCs½y |iSWn«tj oŸh}x‚|iD]w}|itiƒ}x\|oTtii |d ƒ}||jo||i |dƒPqG|i ƒg||PEP 302 Importer that wraps Python's "normal" import algorithmcCs ||_dS(N(spathsself(sselfspath((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys__init__ñscCs«|idƒd}||jo |itjotSn|itjo t}n |ig}yti||ƒ\}}}Wnt j o tSnXt |||ƒSdS(Ns.iÿÿÿÿ( sfullnamessplitssubnamesselfspathsNonesimps find_modulesfilesfilenamesetcs ImportErrors ImpLoader(sselfsfullnamespathsfilenamesetcssubnamesfile((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys find_moduleôs   (s__name__s __module__s__doc__sNones__init__s find_module(((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys ImpWrapperîs  s ImpLoadercBs tZdZd„Zd„ZRS(s<PEP 302 Loader that wraps Python's "normal" import algorithmcCs||_||_||_dS(N(sfilesselfsfilenamesetc(sselfsfilesfilenamesetc((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys__init__s  cCsLz%ti||i|i|iƒ}Wd|io|iiƒnX|SdS(N( simps load_modulesfullnamesselfsfilesfilenamesetcsmodsclose(sselfsfullnamesmod((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys load_module s % (s__name__s __module__s__doc__s__init__s load_module(((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys ImpLoaders  cCsºyti|}WnTtj oHxCtiD]-}y||ƒ}Wntj oq,XPq,Wt}nXtii ||ƒ|tjo*yt |ƒ}Wq²tj oq²Xn|SdS(säRetrieve a PEP 302 "importer" for the given path item If there is no importer, this returns a wrapper around the builtin import machinery. The returned importer is only cached if it was created by a path hook. N( ssysspath_importer_caches path_itemsimportersKeyErrors path_hooksshooks ImportErrorsNones setdefaults ImpWrapper(s path_itemshooksimporter((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys get_importers&    (s get_importers ImpImportercCs|t|y ||SWn+tj ot|ƒ||<}|SnXdS(N(s_cachesfilenamesKeyErrorsnormalize_pathsresult(sfilenames_cachesresult((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys_normalize_cachedþs  cCsW|idƒ}|iƒ}|o1di|ƒ}tti ||ti |ƒndS(Ns.( s packageNamessplitspartsspopsnamesjoinsparentssetattrssyssmodules(s packageNamesparentsnamesparts((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys_set_parent_nss  ccs‡t|tƒoGxp|iƒD]2}|iƒ}|o|idƒ o|VqqWn-x)|D]!}xt|ƒD] }|VqqWq^WdS(sAYield non-empty/non-comment lines of a ``basestring`` or sequences#N( s isinstancesstrss basestrings splitlinessssstrips startswithssss yield_lines(sstrssssss((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys yield_lines s   s \s*(#.*)?$s\s*\\\s*(#.*)?$s\s*((\w|[-.])+)s!\s*(<=?|>=?|==|!=)\s*((\w|[-.])+)s\s*,s\s*\[s\s*\]s \w+(\.\w+)*$sL(?P[^-]+)( -(?P[^-]+) (-py(?P[^-]+) (-(?P.+))? )? )?s(\d+ | [a-z]+ | \.| -)sprescspreviews-sfinal-srcsdevs@ccswxlti|ƒD][}t||ƒ}| p |djoqn|d djo|idƒVqd|VqWdVdS(Ns.is 0123456789is*s*final(s component_ressplitssspartsreplaceszfill(ssspart((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys_parse_version_parts*s cCs·g}x t|iƒƒD]Œ}|idƒoi|djo.x+|o|ddjo|iƒq?Wnx+|o|ddjo|iƒqmWn|i|ƒqWt|ƒSdS(sYConvert a version string to a chronologically-sortable key This is a rough cross between distutils' StrictVersion and LooseVersion; if you give it versions that would work with StrictVersion, then it behaves the same; otherwise it acts like a slightly-smarter LooseVersion. It is *possible* to create pathological version coding schemes that will fool this parser, but they should be very rare in practice. The returned value will be a tuple of strings. Numeric portions of the version are padded to 8 digits so they will compare numerically, but without relying on how numbers compare relative to strings. Dots are dropped, but dashes are retained. Trailing zeros between alpha segments or dashes are suppressed, so that e.g. "2.4.0" is considered the same as "2.4". Alphanumeric parts are lower-cased. The algorithm assumes that strings like "-" and any alpha string that alphabetically follows "final" represents a "patch level". So, "2.4-1" is assumed to be a branch or patch of "2.4", and therefore "2.4.1" is considered newer than "2.4-1", whic in turn is newer than "2.4". Strings like "a", "b", "c", "alpha", "beta", "candidate" and so on (that come before "final" alphabetically) are assumed to be pre-release versions, so that the version "2.4" is considered newer than "2.4a1". Finally, to handle miscellaneous cases, the strings "pre", "preview", and "rc" are treated as if they were "c", i.e. as though they were release candidates, and therefore are not as new as a version string that does not contain them. s*s*finaliÿÿÿÿs*final-s00000000N( spartss_parse_version_partsssslowersparts startswithspopsappendstuple(ssspartsspart((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys parse_version6s cBs›tZdZffed„Zd„Zd„Zeeed„Zeed„Z ed„Z e e ƒZ ed„Z e e ƒZ ed„Z e e ƒZ RS( s3Object representing an advertised importable objectcCsqt|ƒ otd|ƒ‚n||_||_t|ƒ|_tiddi |ƒƒi |_ ||_ dS(NsInvalid module namesx[%s]s,( sMODULEs module_names ValueErrorsnamesselfstuplesattrss Requirementsparsesjoinsextrassdist(sselfsnames module_namesattrssextrassdist((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys__init__bs  "cCsnd|i|if}|io|ddi|iƒ7}n|io|ddi|iƒ7}n|SdS(Ns%s = %ss:s.s [%s]s,(sselfsnames module_namesssattrssjoinsextras(sselfss((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys__str__ks   cCsdt|ƒSdS(NsEntryPoint.parse(%r)(sstrsself(sself((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys__repr__sscCs—|o|i||ƒnt|itƒtƒdgƒ}xP|iD]E}yt ||ƒ}WqFt j ot d||fƒ‚qFXqFW|SdS(Ns__name__s%r has no %r attribute( srequiresselfsenvs installers __import__s module_namesglobalssentrysattrssattrsgetattrsAttributeErrors ImportError(sselfsrequiresenvs installersattrsentry((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysloadvs! cCsZ|io|i otd|ƒ‚nttiti|ii|iƒ||ƒƒdS(Ns&Can't require() without a distribution( sselfsextrassdists UnknownExtrasmaps working_setsaddsresolvesrequiressenvs installer(sselfsenvs installer((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysrequire€s cCs&yÛf}}|iddƒ\}}d|joL|iddƒ\}}tid|ƒ}|i o t ‚n|i}nd|joO|iddƒ\}}t |i ƒƒ o t ‚n|i ƒidƒ}nWn"t j ot d|ƒ‚n$X||iƒ|iƒ|||ƒSdS( 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 s=is[sx[s:s.s9EntryPoint must be in 'name=module:attrs [extras]' formatN(sattrssextrasssrcssplitsnamesvalues Requirementsparsesreqsspecss ValueErrorsMODULEsrstripsclssstripsdist(sclsssrcsdistsnamesreqsvaluesextrassattrs((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysparse‰s&       cCsŽt|ƒ otd|ƒ‚nh}x\t|ƒD]N}|i||ƒ}|i |jotd||i ƒ‚n|||i úscCst|i|ƒSdS(N(scmpsselfshashcmpsother(sselfsother((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys__cmp__scCst|iƒSdS(N(shashsselfshashcmp(sself((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys__hash__scCs?y |iSWn-tj o!|iiƒ|_}|SnXdS(N(sselfs_keysAttributeErrors project_nameslowerskey(sselfskey((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pyskeys  cCs?y |iSWn-tj o!t|iƒ|_}|SnXdS(N(sselfs_parsed_versionsAttributeErrors parse_versionsversionspv(sselfspv((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysparsed_versions  cCs”y |iSWn‚tj ovxq|idƒD]L}|iƒidƒo0t|iddƒdi ƒƒ|_|iSq,q,Wt d|ƒ‚nXdS(NsPKG-INFOsversion:s:is.Missing 'Version:' header and/or PKG-INFO file( sselfs_versionsAttributeErrors _get_metadataslineslowers startswiths safe_versionssplitsstrips ValueError(sselfsline((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysversions %cCs²y |iSWn tj o”htg<}|_xpddfD]b}xYt|i|ƒƒD]B\}}|ot |ƒ}n|i |gƒi t |ƒƒq[Wq?W|SnXdS(Ns requires.txts depends.txt(sselfs_Distribution__dep_mapsAttributeErrorsNonesdmsnamessplit_sectionss _get_metadatasextrasreqss safe_extras setdefaultsextendsparse_requirements(sselfsdmsnamesextrasreqs((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys_dep_map-s   'cCsˆ|i}g}|i|itfƒƒxU|D]M}y|i|t |ƒƒWq/t j ot d||fƒ‚q/Xq/W|SdS(s@List of Requirements needed for this distro if `extras` are useds%s has no such extra feature %rN( sselfs_dep_mapsdmsdepssextendsgetsNonesextrassexts safe_extrasKeyErrors UnknownExtra(sselfsextrassdmsextsdeps((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysrequires9s ccs6|i|ƒo"x|i|ƒD] }|Vq WndS(N(sselfs has_metadatasnamesget_metadata_linessline(sselfsnamesline((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys _get_metadataGscCsb|tjo ti}n|i|ƒ|tijo't|iƒtt|i dƒƒndS(s>Ensure distribution is importable on `path` (default=sys.path)snamespace_packages.txtN( spathsNonessyssselfs insert_onsfixup_namespace_packagesslocationsmapsdeclare_namespaces _get_metadata(sselfspath((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysactivateLs   cCsVdt|iƒt|iƒ|iptf}|io|d|i7}n|SdS(s@Return what this distribution's standard .egg filename should bes %s-%s-py%ss-N(s to_filenamesselfs project_namesversions py_versionsPY_MAJORsfilenamesplatform(sselfsfilename((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysegg_nameUs / cCs-|iod||ifSn t|ƒSdS(Ns%s (%s)(sselfslocationsstr(sself((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys__repr__`s cCsTyt|dtƒ}Wntj o t}nX|pd}d|i|fSdS(Nsversions[unknown version]s%s %s(sgetattrsselfsNonesversions ValueErrors project_name(sselfsversion((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys__str__fs   cCs1|idƒo t|‚nt|i|ƒSdS(sADelegate all unrecognized public attributes to .metadata providers_N(sattrs startswithsAttributeErrorsgetattrsselfs _provider(sselfsattr((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys __getattr__ls cKs,|it|ƒtii|ƒ||SdS(N( sclss from_locations_normalize_cachedsfilenamesosspathsbasenamesmetadataskw(sclssfilenamesmetadataskw((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys from_filenamesscCs!tid|i|ifƒSdS(s?Return a ``Requirement`` that matches this distribution exactlys%s==%sN(s Requirementsparsesselfs project_namesversion(sself((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysas_requirementzscCsJ|i||ƒ}|tjotd||ffƒ‚n|iƒSdS(s=Return the `name` entry point of `group` or raise ImportErrorsEntry point %r not foundN(sselfsget_entry_infosgroupsnamesepsNones ImportErrorsload(sselfsgroupsnamesep((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysload_entry_point~s  cCsny |i}Wn5tj o)ti|idƒ|ƒ}|_nX|tj o|i |hƒSn|SdS(s=Return the entry point map for `group`, or the full entry mapsentry_points.txtN( sselfs_ep_mapsep_mapsAttributeErrors EntryPoints parse_maps _get_metadatasgroupsNonesget(sselfsgroupsep_map((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys get_entry_map…s ' cCs|i|ƒi|ƒSdS(s<Return the EntryPoint object for `group`+`name`, or ``None``N(sselfs get_entry_mapsgroupsgetsname(sselfsgroupsname((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysget_entry_info‘sc CsO|p|i}| odSn|tijo|iƒnt|ƒ}tii |ƒ} t t|ƒ}t }xt|ƒD]`\}}||joPq~|| jo |itjo%|i||ƒ|i||ƒPq~q~W|i|ƒdSxQnoIy|i||dƒ}Wntj oPqöX||=||=|}qýWdSdS(s@Insert self.location in path before its nearest parent directoryNi(slocsselfslocationspathssysscheck_version_conflicts_normalize_cachedsnlocsossdirnamesbdirsmapsnpathsNonesbps enumeratespsitems precedencesEGG_DISTsinsertsappendsindexsnps ValueError( sselfspathslocsnlocsnpathspsbpsitemsnpsbdir((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys insert_on§s:      cCså|idjodSnti|idƒƒ}t|iƒ}xŸ|idƒD]Ž}|t i jp||jp |t joqOnt t i |dtƒ}|ot|ƒi|ƒoqOntd|||ifƒqOWdS(Ns setuptoolssnamespace_packages.txts top_level.txts__file__sIModule %s was already imported from %s, but %s is being added to sys.path(sselfskeysdictsfromkeyss _get_metadatasnspsnormalize_pathslocationslocsmodnamessyssmoduless_namespace_packagessgetattrsNonesfns startswiths issue_warning(sselfslocsmodnamesnspsfn((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pyscheck_version_conflictÐs*cCsAy |iWn+tj otdt|ƒƒtSnXtSdS(NsUnbuilt egg for (sselfsversions ValueErrors issue_warningsreprsFalsesTrue(sself((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys has_versionäs   cKscx<ddddddfD]"}|i|t||tƒƒqW|id|iƒ|i|SdS( s@Copy this distribution, substituting in any changed keyword argss project_namesversions py_versionsplatformslocations precedencesmetadataN(sattrskws setdefaultsgetattrsselfsNones _providers __class__(sselfskwsattr((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pyscloneìs  cCs7gi}|iD]}|o||ƒqq~SdS(N(sappends_[1]sselfs_dep_mapsdep(sselfs_[1]sdep((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysextrasús("s__name__s __module__s__doc__sNonesPY_MAJORsEGG_DISTs__init__s from_locations classmethodspropertyshashcmps__cmp__s__hash__skeysparsed_versionsversions_dep_mapsrequiress _get_metadatasactivatesegg_names__repr__s__str__s __getattr__s from_filenamesas_requirementsload_entry_points get_entry_mapsget_entry_infos insert_onscheck_version_conflicts has_versionsclonesextras(((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys DistributionÚsD                     )    cOs|d}tƒ}y/x(ti|ƒi|jo|d7}qWWntj onXdkl}|d|d||ŽdS(Ni(swarns stacklevel( slevelsglobalssgssyss _getframes f_globalss ValueErrorswarningsswarnsargsskw(sargsskwswarnsgslevel((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys issue_warningÿs  c #s;tt|ƒƒ‰‡d†}xˆD]}t|ƒ}| otd|ƒ‚n|i dƒ}|i ƒ} g} t|| ƒ}|o7|i ƒ} |tt|| dfdƒ\}} } n|tt|| ddfdƒ\}} }gi}|D]"\} }|| t|ƒfƒqø~}t||| ƒVq%WdS(s£Yield ``Requirement`` objects for each specification in `strs` `strs` must be an instance of ``basestring``, or a (possibly-nested) iterable thereof. csTg}x|||ƒ ot||ƒo<yˆiƒ}d}Wqftj otdƒ‚qfXn|||ƒ}| o%td|d|d||ƒ‚n|i |i |Œƒ|iƒ}t||ƒ}|o|iƒ}q |||ƒ otd|d||ƒ‚q q W|||ƒ}|o|iƒ}n|||fSdS(Nis+\ must not appear on the last nonblank lines Expected s insatsExpected ',' or end-of-list in(sitemss TERMINATORslinespsCONTINUEslinessnexts StopIterations ValueErrorsITEMsmatchs item_namesappendsgroupsgroupssendsCOMMA(sITEMs TERMINATORslinespsgroupss item_namesitemssmatch(slines(sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys scan_list+ s,% "sMissing distribution specis 'extra' nameis version specN(siters yield_linessstrssliness scan_listslinesDISTROsmatchs ValueErrorsgroups project_namesendspsextrassOBRACKETsCBRACKETsVERSIONsLINE_ENDsspecssappends_[1]sopsvals safe_versions Requirement( sstrssspecssvals scan_listsmatchs project_nameslinesliness_[1]spsextrassop((slinessM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysparse_requirements" s$    +*9cCsxgi}|D]}||i|fƒq~}|iƒgi}|D]\}}||ƒqH~|ddd…DO NOT CALL THIS UNDOCUMENTED METHOD; use Requirement.parse()!N(s project_names safe_namesselfs unsafe_nameslowerskeysappends_[1]sspecssopsvs parse_versions state_machinesindexssortsparsedstranssverstuplesmaps safe_extrasextrass frozensetshashCmpshashs_Requirement__hash( sselfs project_namesspecssextrassindexsversparseds_[1]svstranssop((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys__init__u sC <'WcCs{digi}|iD]}|di|ƒƒq~ƒ}di|iƒ}|od|}nd|i||fSdS(Ns,ss[%s]s%s%s%s(sjoinsappends_[1]sselfsspecssssextrass project_name(sselfs_[1]sssextrassspecs((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys__str__ƒ s <cCs$t|tƒo|i|ijSdS(N(s isinstancesothers RequirementsselfshashCmp(sselfsother((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys__eq__‰ scCs#t|tƒo6|i|ijotSn|io |i}qfn!t|tƒot |ƒ}nt }x•|iD]Š\}}}}|t||ƒ}|djotSqv|djotSqv|djo t}qv|djp |t jo t}qvqvW|t jo t}n|SdS(NsFsTs+s-(s isinstancesitems DistributionskeysselfsFalsesindexsparsed_versions basestrings parse_versionsNoneslastsparsedstranssopsverscmpsactionsTrue(sselfsitemstransslastsactionsparsedsversop((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys __contains__Œ s,      cCs |iSdS(N(sselfs_Requirement__hash(sself((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys__hash__ scCsdt|ƒSdS(NsRequirement.parse(%r)(sstrsself(sself((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys__repr__  scCs^tt|ƒƒ}|o2t|ƒdjo |dSntd|ƒ‚ntd|ƒ‚dS(NiisExpected only one requirementsNo requirements found(slistsparse_requirementssssreqsslens ValueError(sssreqs((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysparse£ s  ( s__name__s __module__s__init__s__str__s__eq__s __contains__s__hash__s__repr__sparses staticmethod(((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys Requirementt s       ssF+Fs>=sT+Fs==sT..s!=sF++cCsDt|tƒ o(d|tfd„ƒY}|idSn|iSdS(s&Get an mro for a type or classic classsclscBstZRS(N(s__name__s __module__(((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pyscls» siN(s isinstancesclsstypesobjects__mro__(scls((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys_get_mro¸ s cCsFx?tt|dt|ƒƒƒD]}||jo ||SqqWdS(s2Return an adapter factory for `ob` from `registry`s __class__N(s_get_mrosgetattrsobstypestsregistry(sregistrysobst((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys _find_adapter¿ s  cCs;tii|ƒ}tii|ƒ oti|ƒndS(s1Ensure that the parent directory of `path` existsN(sosspathsdirnamesisdirsmakedirs(spathsdirname((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pysensure_directoryÆ sccsªt}g}xt|ƒD]}|idƒo\|idƒo9|p|o||fVn|dd!iƒ}g}q˜t d|ƒ‚q|i |ƒqW||fVdS(srSplit 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``. s[s]iiÿÿÿÿsInvalid section headingN( sNonessectionscontents yield_linesssslines startswithsendswithsstrips ValueErrorsappend(ssssectionscontentsline((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pyssplit_sectionsÌ s  cOsAdkl}ti}ztt_|||ŽSWd|t_XdS(N(smkstemp(stempfilesmkstempsossopensold_opensos_opensargsskw(sargsskwsold_opensmkstemp((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys_mkstempå s   cCsCx<ttƒD].}|idƒ ott|ƒ|| s(“s__doc__ssyssoss zipimportstimesresimpsnews frozensets NameErrorssetss ImmutableSetsutimesrenamesunlinksopensos_opensget_supported_platforms__all__s ExceptionsResolutionErrorsVersionConflictsDistributionNotFounds UnknownExtras_provider_factoriessversionsPY_MAJORsEGG_DISTs BINARY_DISTs SOURCE_DISTs CHECKOUT_DISTs DEVELOP_DISTsregister_loader_types get_providers _macosx_verss _macosx_archsget_build_platformscompilesmacosVersionStringsdarwinVersionStrings get_platformscompatible_platformss run_scriptsrun_mainsget_distributionsload_entry_pointsNones get_entry_mapsget_entry_infosIMetadataProvidersIResourceProvidersobjects WorkingSets EnvironmentsAvailableDistributionss RuntimeErrorsExtractionErrorsResourceManagersget_default_caches safe_names safe_versions safe_extras to_filenames NullProviders EggProvidersDefaultProviderstypes EmptyProvidersempty_providers ZipProviders zipimporters FileMetadatas PathMetadatas EggMetadatas ImpWrappers ImpLoaders get_importerspkgutils ImpImporters ImportErrors_distribution_finderssregister_findersFalsesfind_distributionss find_in_zipsStringIOs find_nothings find_on_paths_namespace_handlerss_namespace_packagessregister_namespace_handlers _handle_nssdeclare_namespacesfixup_namespace_packagessfile_ns_handlersnull_ns_handlersnormalize_paths_normalize_cacheds_set_parent_nss yield_linessmatchsLINE_ENDsCONTINUEsDISTROsVERSIONsCOMMAsOBRACKETsCBRACKETsMODULEsVERBOSEs IGNORECASEsEGG_NAMEs component_resgetsreplaces_parse_version_partss parse_versions EntryPoints Distributions issue_warningsparse_requirementss _sort_distss Requirements state_machines_get_mros _find_adaptersensure_directoryssplit_sectionss_mkstemps_managers _initializesglobalss working_sets__main__s __requires__srequiresresolvesdistsaddspathsentrysentriess add_entrysiter_entry_pointss subscribesadd_activation_listenersmap(usempty_providersdistsExtractionErrors safe_extras BINARY_DISTs _sort_distss ImpWrappersadd_activation_listeners SOURCE_DISTs zipimports get_providersMODULEs CHECKOUT_DISTsget_build_platformsutimes NullProvidersDefaultProvidersResourceManagers FileMetadatasget_entry_infos ImpImporters_normalize_cachedsload_entry_points find_on_pathsOBRACKETs_distribution_finderss EmptyProviders__all__sdarwinVersionStringsresmacosVersionStrings EggProvidersnewsfixup_namespace_packagessDISTROs_namespace_packagess run_scriptssplit_sectionsscompatible_platformssregister_finders_set_parent_nss frozensets Distributions _handle_nssAvailableDistributionss _macosx_archsrun_mains __requires__sCBRACKETsensure_directorys find_nothingsCONTINUEsoss PathMetadatas safe_namesreplaces EnvironmentsIResourceProvidersregister_loader_typesimpsfind_distributionss WorkingSetsdeclare_namespaces issue_warnings to_filenamesResolutionErrors get_platformsparse_requirementss state_machines yield_liness Requirements _find_adapters _initializesnormalize_paths_namespace_handlerss UnknownExtrasos_opensnull_ns_handlers_mkstempsDistributionNotFoundsrenames find_in_zips_provider_factoriessfile_ns_handlers get_importers ImpLoaders EggMetadatas working_setsregister_namespace_handlersEGG_DISTsCOMMAsget_supported_platforms get_entry_mapsLINE_ENDs ZipProvidersget_distributionsrequiressyss_get_mros parse_versionsiter_entry_pointssunlinks DEVELOP_DISTsEGG_NAMEsget_default_caches safe_versions _macosx_verss_managersVersionConflicts_parse_version_partss component_resIMetadataProvidersVERSIONs EntryPointstimesentrysPY_MAJOR((sM/mnt/gmirror/ports/devel/py-setuptools/work/setuptools-0.6c7/pkg_resources.pys?s(?  )Ï)    3     ))ÿ Í )  \  ‹)      #            6 ){ÿ& # = 9<