/usr/lib/python2.6/site-packages
NameSizeModeActions
appdirs-1.4.0.dist-info/-0755rm
argparse-1.4.0.dist-info/-0755rm
babel/-0755rm
Babel-2.1.1.dist-info/-0755rm
Babel-2.3.4.dist-info/-0755rm
backports/-0755rm
backports.ssl_match_hostname-3.4.0.2-py2.6.egg-info/-0755rm
boto/-0755rm
boto-2.34.0-py2.6.egg-info/-0755rm
cffi-1.6.0-py2.6-linux-x86_64.egg/-0755rm
chardet/-0755rm
chardet-2.2.1-py2.6.egg-info/-0755rm
cinderclient/-0755rm
clcommon/-0755rm
cliff/-0755rm
cliff-1.15.0.dist-info/-0755rm
cliff-2.0.0.dist-info/-0755rm
clifftablib/-0755rm
cliff_tablib-1.1-py2.6.egg-info/-0755rm
cloudinit/-0755rm
cloud_init-0.7.5-py2.6.egg-info/-0755rm
cmd2-0.6.8-py2.6.egg-info/-0755rm
concurrent/-0755rm
cryptography-1.3.1-py2.6-linux-x86_64.egg/-0755rm
dateutil/-0755rm
dbus/-0755rm
debtcollector/-0755rm
debtcollector-0.8.0.dist-info/-0755rm
debtcollector-1.3.0.dist-info/-0755rm
decorator-4.0.9.dist-info/-0755rm
dict-0.0.5-py2.6.egg-info/-0755rm
distribute-0.6.10-py2.6.egg-info/-0755rm
dns/-0755rm
enum/-0755rm
enum34-1.0.4-py2.6.egg-info/-0755rm
enum34-1.1.3-py2.6.egg/-0755rm
funcsigs/-0755rm
funcsigs-1.0.2.dist-info/-0755rm
futures-3.0.3.dist-info/-0755rm
futures-3.0.5.dist-info/-0755rm
get-0.0.7-py2.6.egg-info/-0755rm
glanceclient/-0755rm
idna/-0755rm
idna-2.0.dist-info/-0755rm
idna-2.1-py2.6.egg/-0755rm
iniparse/-0755rm
iotop/-0755rm
iotop-0.3.2-py2.6.egg-info/-0755rm
ipaddress-1.0.14-py2.6.egg-info/-0755rm
ipaddress-1.0.16-py2.6.egg/-0755rm
iso8601/-0755rm
iso8601-0.1.10-py2.6.egg-info/-0755rm
iso8601-0.1.11.dist-info/-0755rm
jsonpatch-1.2-py2.6.egg-info/-0755rm
jsonpatch-1.11.dist-info/-0755rm
jsonpatch-1.13.dist-info/-0755rm
jsonpointer-1.9.dist-info/-0755rm
jsonpointer-1.10.dist-info/-0755rm
jsonschema/-0755rm
jsonschema-2.5.1.dist-info/-0755rm
keystoneauth1/-0755rm
keystoneauth1-1.1.0.dist-info/-0755rm
keystoneauth1-2.6.0.dist-info/-0755rm
keystoneclient/-0755rm
markdown/-0755rm
monotonic-0.4-py2.6.egg-info/-0755rm
monotonic-1.1.dist-info/-0755rm
ndg/-0755rm
ndg_httpsclient-0.4.0-py2.6.egg-info/-0755rm
netaddr/-0755rm
netaddr-0.7.18.dist-info/-0755rm
neutronclient/-0755rm
nose/-0755rm
nose-0.10.4-py2.6.egg-info/-0755rm
novaclient/-0755rm
oauth/-0755rm
oauth-1.0.1-py2.6.egg-info/-0755rm
openstack/-0755rm
openstackclient/-0755rm
openstacksdk-0.8.5.dist-info/-0755rm
oslo.config-2.4.0.dist-info/-0755rm
oslo.config-3.9.0.dist-info/-0755rm
oslo.i18n-2.6.0.dist-info/-0755rm
oslo.i18n-3.6.0.dist-info/-0755rm
oslo.serialization-1.9.0.dist-info/-0755rm
oslo.serialization-2.4.0.dist-info/-0755rm
oslo.utils-2.5.0.dist-info/-0755rm
oslo.utils-3.8.0.dist-info/-0755rm
oslo_config/-0755rm
oslo_i18n/-0755rm
oslo_serialization/-0755rm
oslo_utils/-0755rm
os_client_config/-0755rm
os_client_config-1.8.1.dist-info/-0755rm
os_client_config-1.17.0.dist-info/-0755rm
pbr/-0755rm
pbr-1.8.0.dist-info/-0755rm
pbr-1.9.1.dist-info/-0755rm
pip-7.1.2-py2.6.egg/-0755rm
pip-8.1.1-py2.6.egg/-0755rm
pkg_resources/-0755rm
positional/-0755rm
positional-1.1.0-py2.6.egg-info/-0755rm
post-0.0.5-py2.6.egg-info/-0755rm
prettytable-0.7.2-py2.6.egg-info/-0755rm
public-0.0.0-py2.6.egg-info/-0755rm
pyasn1/-0755rm
pyasn1-0.0.12a-py2.6.egg-info/-0755rm
pyasn1-0.1.9-py2.6.egg/-0755rm
pyasn1-0.1.9.dist-info/-0755rm
pycparser/-0755rm
pycparser-2.14-py2.6.egg/-0755rm
pycparser-2.14-py2.6.egg-info/-0755rm
pygments/-0755rm
Pygments-1.1.1-py2.6.egg-info/-0755rm
pyparsing-2.0.3.dist-info/-0755rm
pyparsing-2.1.1.dist-info/-0755rm
python_cinderclient-1.4.0.dist-info/-0755rm
python_cinderclient-1.6.0.dist-info/-0755rm
python_dateutil-1.4.1-py2.6.egg-info/-0755rm
python_glanceclient-1.1.0.dist-info/-0755rm
python_glanceclient-2.0.0.dist-info/-0755rm
python_keystoneclient-1.7.1.dist-info/-0755rm
python_keystoneclient-2.3.1.dist-info/-0755rm
python_neutronclient-3.1.0.dist-info/-0755rm
python_novaclient-2.31.0.dist-info/-0755rm
python_novaclient-4.0.0.dist-info/-0755rm
python_openstackclient-1.7.1.dist-info/-0755rm
python_openstackclient-2.4.0.dist-info/-0755rm
python_swiftclient-2.6.0.dist-info/-0755rm
python_swiftclient-3.0.0.dist-info/-0755rm
pytz/-0755rm
pytz-2015.6.dist-info/-0755rm
pytz-2016.4.dist-info/-0755rm
pyzor-1.0.0-py2.6.egg/-0755rm
query_string-0.0.5-py2.6.egg-info/-0755rm
repoze/-0755rm
repoze.lru-0.6-py2.6.egg-info/-0755rm
request-0.0.5-py2.6.egg-info/-0755rm
requests/-0755rm
requests-2.7.0.dist-info/-0755rm
requests-2.9.1.dist-info/-0755rm
requestsexceptions/-0755rm
requestsexceptions-1.1.3.dist-info/-0755rm
rhn/-0755rm
rpmUtils/-0755rm
rsa/-0755rm
rsa-3.4.2-py2.6.egg-info/-0755rm
self-0.0.5-py2.6.egg-info/-0755rm
setools/-0755rm
setuptools/-0755rm
setuptools-20.10.1.dist-info/-0755rm
six-1.9.0.dist-info/-0755rm
six-1.10.0.dist-info/-0755rm
sos/-0755rm
stevedore/-0755rm
stevedore-1.8.0.dist-info/-0755rm
stevedore-1.12.0.dist-info/-0755rm
supervisor/-0755rm
swiftclient/-0755rm
tablib/-0755rm
tablib-0.10.0.dist-info/-0755rm
unicodecsv/-0755rm
unicodecsv-0.14.1-py2.6.egg-info/-0755rm
urlgrabber/-0755rm
urllib3/-0755rm
urllib3-1.10.2-py2.6.egg-info/-0755rm
urllib3-1.12.dist-info/-0755rm
urllib3-1.15.1.dist-info/-0755rm
warlock/-0755rm
warlock-1.1.0-py2.6.egg-info/-0755rm
warlock-1.2.0-py2.6.egg-info/-0755rm
yum/-0755rm
yumutils/-0755rm
appdirs.py223740755editdlrm
appdirs.pyc206650644editdlrm
argparse.py892140644editdlrm
argparse.pyc668150644editdlrm
argparse.pyo664910644editdlrm
chardet-2.0.1-py2.6.egg-info16050644editdlrm
clsudo.py129530644editdlrm
clsudo.pyc113920644editdlrm
clsudo.pyo113920644editdlrm
cmd2.py650690644editdlrm
cmd2.pyc650190644editdlrm
configobj-4.6.0-py2.6.egg-info3120644editdlrm
configobj.py864470644editdlrm
configobj.pyc664120644editdlrm
configobj.pyo664120644editdlrm
dbus_bindings.py330644editdlrm
dbus_bindings.pyc1850644editdlrm
dbus_bindings.pyo1850644editdlrm
decorator.py157750644editdlrm
decorator.pyc144850644editdlrm
dict.py22390644editdlrm
dnspython-1.11.1-py2.6.egg-info12800644editdlrm
easy-install.pth2760644editdlrm
easy_install.py1260644editdlrm
easy_install.pyc3170644editdlrm
easy_install.pyo3170644editdlrm
get.py3220644editdlrm
hwdata.py81420644editdlrm
hwdata.pyc62830644editdlrm
hwdata.pyo62830644editdlrm
iniparse-0.3.1-py2.6.egg-info10850644editdlrm
ipaddress.py796590644editdlrm
ipaddress.pyc759000644editdlrm
jsonpatch.py159460644editdlrm
jsonpatch.pyc174810644editdlrm
jsonpatch.pyo172770644editdlrm
jsonpointer-1.0-py2.6.egg-info3020644editdlrm
jsonpointer.py66100644editdlrm
jsonpointer.pyc63680644editdlrm
jsonpointer.pyo63680644editdlrm
libproxy.py43300644editdlrm
libproxy.pyc39900644editdlrm
libproxy.pyo39900644editdlrm
lprettytable.py238490755editdlrm
lprettytable.pyc196190644editdlrm
lprettytable.pyo194720644editdlrm
Markdown-2.0.1-py2.6.egg-info13400644editdlrm
monotonic.py53450644editdlrm
monotonic.pyc54790644editdlrm
ndg_httpsclient-0.4.0-py2.6-nspkg.pth2960644editdlrm
ordereddict-1.1-py2.6.egg-info1830644editdlrm
ordereddict-1.2-py2.6.egg-info1830644editdlrm
ordereddict.py42210644editdlrm
ordereddict.pyc44210644editdlrm
ordereddict.pyo44210644editdlrm
pciutils-2.3.5-py2.6.egg-info2420644editdlrm
pkg_resources.py881960644editdlrm
pkg_resources.pyc928750644editdlrm
pkg_resources.pyo928750644editdlrm
post.py2260644editdlrm
prettytable.py542040644editdlrm
prettytable.pyc522520644editdlrm
prettytable.pyo512660644editdlrm
public.py46350644editdlrm
pyOpenSSL-0.15.1-py2.6.egg2357360644editdlrm
pyOpenSSL-16.0.0-py2.6.egg943080644editdlrm
pyparsing.py1582560644editdlrm
pyparsing.pyc1578590644editdlrm
pytz-2010h-py2.6.egg-info225770644editdlrm
query_string.py8400644editdlrm
README1190644editdlrm
repoze.lru-0.6-py2.6-nspkg.pth3070644editdlrm
request.py2070644editdlrm
requests-2.6.0-py2.6.egg-info403570644editdlrm
rhnlib-2.5.22-py2.6.egg-info3390644editdlrm
secureio.py92220644editdlrm
secureio.pyc47210644editdlrm
secureio.pyo47210644editdlrm
self.py7280644editdlrm
setuptools-0.6c11-py2.6.egg-info1440644editdlrm
setuptools-18.3.2-py2.6.egg3590330755editdlrm
setuptools-20.9.0-py2.6.egg4728320644editdlrm
setuptools.pth340644editdlrm
site.py23620644editdlrm
site.pyc17710644editdlrm
site.pyo17710644editdlrm
six.py296640644editdlrm
six.pyc293300644editdlrm
six.pyo269110644editdlrm
supervisor-2.1-py2.6.egg-info7970644editdlrm
urlgrabber-3.9.1-py2.6.egg-info22850644editdlrm
validate.py467680644editdlrm
validate.pyc473840644editdlrm
validate.pyo473840644editdlrm
Edit: /usr/lib/python2.6/site-packages/pkg_resources.pyc (92875B)
jZcT@s# dZddkZddkZddkZddkZddkZddkZddkZyeWn#e j oddk l ZnXddkl Z y&ddkl Z lZlZeZWnej o eZnXddklZddklZlZeZdd Zd Zd 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@dAdBdCdDdEdFdGdHdIdJdKdLdMgCZd&efdNYZd'efdOYZd(efdPYZ d)efdQYZ!hZ"ei#dR Z$dRZ%dSZ&dTZ'dUZ(dZ)dVZ*dWZ+gdXZ,dYZ-dZZ.ei/d[Z0ei/d\Z1e.Z2d]Z3d^Z4e4Z5d_Z6d`Z7e8daZ9dbZ:d<fdcYZ;d=e;fddYZ<d!e=fdeYZ>d e=fdfYZ?e?Z@d*eAfdgYZBd"fdhYZCdiZDdjZEdkZFdlZGdmZHdCfdnYZIe*e=eIdDeIfdoYZJdEeJfdpYZKe*eLe8eKdAeIfdqYZMeMZNdFeJfdrYZOe*eiPeOd>eMfdsYZQd?eKfdtYZRd@eOfduYZSdvfdwYZTdxfdyYZUdzZVydd{kWlVZVlXZXWnej onXeXZT[U[XhZYd|ZZed}Z[ed~Z\eZeiPe\da]edZ^eZe=e^edZ_eZeTe_hZ`hZadZbdZcdZde8dZedZfebeTefebeiPefdZgebe=egdZhhdZidZjdZkei/dilZmei/dilZnei/dilZoei/dilZpei/dilZqei/dilZrei/dilZsei/dilZtei/deiueivBilZwei/deiuZxhdd6dd6dd6dd6dd6iyZzdZ{dZ|d%e=fdYZ}d#e=fdYZ~dZdZdZd$fdYZhdd6dd6dd6dd6dd6dd6ZdZdZdZdZdZdZeCZdZeee>ZyddklZWnej onXyeieWnej oe>gZx0eieee?D]ZeieqnWx2eiD]'ZeeijoeienqWeiei(nXeiZeiZeiZei4Z4e4Z5edge_eeieidS(sYPackage 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. iN(t ImmutableSet(tutime(tmkdirtrenametunlink(topen(tisdirtspliticCsdtptdnt|\}}|o0|o)t| ot|t||ndS(Ns*"os.mkdir" not supported on this platform.(t WRITE_SUPPORTtIOErrorRRt_bypass_ensure_directoryR(tnametmodetdirnametfilename((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR ,s  cCst}ti|}|dj oWtidjoGy-dditd |idf}Wq|t j oq|Xn|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-%st.iiN( tget_build_platformtmacosVersionStringtmatchtNonetsystplatformtjoint _macosx_verstgroupt ValueError(tplattm((s1/usr/lib/python2.6/site-packages/pkg_resources.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_requirementst parse_versiont safe_namet safe_versiont get_platformtcompatible_platformst yield_linestsplit_sectionst safe_extrat to_filenametensure_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_packagest get_importertrun_maintAvailableDistributionscBseZdZdZRS(s.Abstract base for dependency resolution errorscCs|iit|iS(N(t __class__t__name__treprtargs(tself((s1/usr/lib/python2.6/site-packages/pkg_resources.pyt__repr__s(Rbt __module__t__doc__Rf(((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR9scBseZdZRS(sAAn already-installed version conflicts with the requested version(RbRgRh(((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR:scBseZdZRS(s&A requested distribution was not found(RbRgRh(((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR;scBseZdZRS(s>Distribution doesn't have an "extra feature" of the given name(RbRgRh(((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR<siiiicCs|t|eZdZdZdZdZdZdZRS(cCsdS(s;Does the package's distribution contain the named metadata?N((R ((s1/usr/lib/python2.6/site-packages/pkg_resources.pyt has_metadata8scCsdS(s'The named metadata resource as a stringN((R ((s1/usr/lib/python2.6/site-packages/pkg_resources.pyt get_metadata;scCsdS(sYield 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 ((s1/usr/lib/python2.6/site-packages/pkg_resources.pytget_metadata_lines>scCsdS(s>Is the named metadata a directory? (like ``os.path.isdir()``)N((R ((s1/usr/lib/python2.6/site-packages/pkg_resources.pytmetadata_isdirDscCsdS(s?List of metadata names in the directory (like ``os.listdir()``)N((R ((s1/usr/lib/python2.6/site-packages/pkg_resources.pytmetadata_listdirGscCsdS(s=Execute the named script in the supplied namespace dictionaryN((Rt namespace((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRJs(RbRgRRRRRR(((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRO6s      cBsDeZdZdZdZdZdZdZdZRS(s3An object that provides access to package resourcescCsdS(sdReturn a true filesystem path for `resource_name` `manager` must be an ``IResourceManager``N((tmanagert resource_name((s1/usr/lib/python2.6/site-packages/pkg_resources.pytget_resource_filenameYscCsdS(siReturn a readable file-like object for `resource_name` `manager` must be an ``IResourceManager``N((RR((s1/usr/lib/python2.6/site-packages/pkg_resources.pytget_resource_stream^scCsdS(smReturn a string containing the contents of `resource_name` `manager` must be an ``IResourceManager``N((RR((s1/usr/lib/python2.6/site-packages/pkg_resources.pytget_resource_stringcscCsdS(s,Does the package contain the named resource?N((R((s1/usr/lib/python2.6/site-packages/pkg_resources.pyt has_resourcehscCsdS(s>Is the named resource a directory? (like ``os.path.isdir()``)N((R((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR+kscCsdS(s?List of resource names in the directory (like ``os.listdir()``)N((R((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR)ns( RbRgRhRRRRR+R)(((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRPVs     cBseZdZddZdZdZdZddZdZ dZ de dZ dde d Z dde d Zd Zd Zd ZRS(sDA collection of active distributions on sys.path (or a similar list)cCs`g|_h|_h|_g|_|djo ti}nx|D]}|i|qEWdS(s?Create working set from list of path entries (default=sys.path)N(tentriest entry_keystby_keyt callbacksRRR}t add_entry(ReRtentry((s1/usr/lib/python2.6/site-packages/pkg_resources.pyt__init__s      cCsT|ii|g|ii|x*t|tD]}|i||tq3WdS(sAdd 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(Rt setdefaultRRR/RtaddR(ReRR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRs cCs|ii|i|jS(s9True if `dist` is the active distribution for its project(RRtkey(ReR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyt __contains__scCsJ|ii|i}|dj o ||jot||n|SdS(sFind 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(RRRRR:(RetreqR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRns ccskxd|D]\}|i|}|djo x7|iD] }|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(R#Rtvalues(ReRR RRtep((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR%s    cCsQtidi}|d}|i||d<|i|di||dS(s?Locate distribution for `requires` and run `script_name` scriptiRbiN(RRRRRR(RetrequiresRRR ((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRs    ccs]h}xP|iD]E}x<|i|D]-}||jod||<|i|Vq$q$WqWdS(sYield 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(RRR(RetseentitemR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyt__iter__s   cCs|o|i|i|n|djo |i}n|ii|g}|ii|ig}|i|ijodS||i|i<|i|jo|i|in|i|jo|i|in|i |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. If it's added, any callbacks registered with the ``subscribe()`` method will be called. N( t insert_onRRtlocationRRRRRt _added_new(ReRRtinserttkeystkeys2((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRs   c Cst|ddd}h}h}g}xY|oQ|id}t|o|otid}n||joq.n|i|i} | djo|ii|i} | djoa|djot |i }n|i |||} ||i<| djot |q!n|i | n| |jot| |n|i| i|idddt||R(ReRtneededR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR~s cCsD||ijodS|ii|x|D]}||q,WdS(sAInvoke `callback` for all distributions (including existing ones)N(RR(RetcallbackR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyt subscribes cCs"x|iD]}||q WdS(N(R(ReRR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRs N(RbRgRhRRRRRnR%RRRRRRRRR(((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR4s      3Q  cBseZdZd eedZdZdZd dZ dZ dZ d dZ d dZ d Zd Zd ZRS( s5Searchable snapshot of distributions on a search pathcCs5h|_h|_||_||_|i|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. ``'2.4'``); 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_distmapRRtpythontscan(Ret search_pathRR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRs     cCsF|idjp#|idjp|i|ijot|i|iS(sIs 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(RRt py_versionRCR(ReR((s1/usr/lib/python2.6/site-packages/pkg_resources.pytcan_adds cCs|i|ii|dS(s"Remove `dist` from the environmentN(RRtremove(ReR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRscCsS|djo ti}nx2|D]*}x!t|D]}|i|q4Wq!WdS(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(RRR}R/R(ReRRR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRs   cCsy|i|SWn4tj o(|i}||ijogSnX||ijo&|i|}|i|((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRCs   (RbRgRhRRC(((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRWs cBs;eZdZdZdZdZdZdZRS(s6Provides access to package resources in the filesystemcCstii|S(N(R|R}R~(ReR}((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR-scCstii|S(N(R|R}R(ReR}((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR0scCs ti|S(N(R|tlistdir(ReR}((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR1scCst|i|i|dS(Ntrb(RR*R)(ReRR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRscCs/t|d}z|iSWd|iXdS(NRI(Rtreadtclose(ReR}tstream((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR,s(RbRgRhR-R0R1RR,(((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRXs     cBs<eZdZdZZdZdZdZdZ RS(s.Provider that returns nothing for all requestscCstS((R(ReR}((s1/usr/lib/python2.6/site-packages/pkg_resources.pytscCsdS(Rx((ReR}((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRMscCsgS(((ReR}((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRM scCsdS(N((Re((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR sN( RbRgRhR0R-R,R1RR)R(((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRTs    cBseZdZd ZdZdZdZdZdZ dZ dZ dZ d Z d Zd Zd ZRS(s"Resource support for zips and eggscCs@ti||ti|ii|_|iiti|_ dS(N( RWRt zipimportt_zip_directory_cacheRwtarchivetzipinfoR|tseptzip_pre(ReRv((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRscCsB|i|io|t|iStd||ifdS(Ns%s is not a subpath of %s(RRSR6tAssertionError(Retfspath((s1/usr/lib/python2.6/site-packages/pkg_resources.pyt _zipinfo_namescCsf|i|}|i|itio"|t|iditiStd||ifdS(Nis%s is not a subpath of %s(RSRRFR|RRR6RRT(Retzip_pathRU((s1/usr/lib/python2.6/site-packages/pkg_resources.pyt_parts's  "cCs|iptdn|i|}|i}di|i||jo.x+|D]}|i||i|q[Wn|i||S(Ns5resource_filename() only supported for .egg, not .zipR=(RAR<t_resource_to_zipt_get_eager_resourcesRRXt_extract_resourcet _eager_to_zip(ReRRRWteagersR ((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR0s   !c Cs||ijoMx9|i|D]'}|i|tii||}q$Wtii|S|i|}|d|d|d}}}|d?d|d?d@|d@|d@d ?|d?d @|d@d d d d f } ti| } yt pt dn|i |i |i |} tii| o8ti| } | i|jo| i| jo| Sntddtii| \} }ti| |ii|ti| t|| | f|i|| yt|| Wntij otii| odti| } | i|jo| i| jo| Stidjot| t|| | SnnXWn tij o|inX| S(Niiii iiiii i?iiis>"os.rename" and "os.unlink" are not supported on this platforms .$extracttdirR(t_indexR[R|R}RR RQttimetmktimeRR RRARXtisfileRtst_sizetst_mtimet_mkstemptwriteRwR?RKRRRterrorR RR (ReRRWR tlasttzip_stattttdtsizet date_timet timestampt real_pathRtoutfttmpnam((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR[=sP  0  $      cCse|idjoNg}x8dD]0}|i|o|i|i|qqW||_n|iS(Nsnative_libs.txtseager_resources.txt(snative_libs.txtseager_resources.txt(R]RRRR(ReR]R ((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRZys cCsy |iSWntj oh}x|iD]w}|iti}x\|oTtii|d }||jo||i|dPqG|ig||PEP 302 Importer that wraps Python's "normal" import algorithmcCs ||_dS(N(R}(ReR}((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRscCs|idd}||jo|idjodS|idjo d}n |ig}yti||\}}}Wntj odSXt|||S(NRi(RR}Rtimpt find_modulet ImportErrort ImpLoader(RetfullnameR}tsubnametfileRtetc((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR~s  N(RbRgRhRRR~(((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR|s RcBs eZdZdZdZRS(s<PEP 302 Loader that wraps Python's "normal" import algorithmcCs||_||_||_dS(N(RRR(ReRRR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR)s  cCsHz%ti||i|i|i}Wd|io|iinX|S(N(R}t load_moduleRRRRK(ReRtmod((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR.s % (RbRgRhRR(((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR&s cCsyti|}WnTtj oHxCtiD]-}y||}Wntj oq,XPq,Wd}nXtii|||djo*yt|}Wqtj oqXn|S(sRetrieve 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(Rtpath_importer_cacheRqt path_hooksRRRR|(t path_itemR{thook((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR^:s$    (R^t ImpImportercCs|t|=?|==|!=)\s*((\w|[-.])+)s\s*,s\s*\[s\s*\]s \w+(\.\w+)*$sL(?P[^-]+)( -(?P[^-]+) (-py(?P[^-]+) (-(?P.+))? )? )?s(\d+ | [a-z]+ | \.| -)tctpretpreviewsfinal-R$trct@tdevccszxnti|D]]}t||}| p |djoqn|d djo|idVqd|VqWdVdS(NRit 0123456789it*s*final(t component_reRRtzfill(Rtpart((s1/usr/lib/python2.6/site-packages/pkg_resources.pyt_parse_version_partsMs cCsg}xt|iD]}|idoi|djo.x+|o|ddjo|iq?Wnx+|o|ddjo|iqmWn|i|qWt|S(sConvert 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", which 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, and "dev" is replaced with an '@' so that it sorts lower than than any other pre-release tag. Rs*finalis*final-t00000000(RRRRRttuple(RRuR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR?Ys cBseZdZd d d dZdZdZed d dZd d dZ d dZ e e Z d dZ e e Z d dZ e e Z RS( s3Object representing an advertised importable objectcCspt|ptd|n||_||_t||_tiddi|i |_ ||_ dS(NsInvalid module namesx[%s]t,( tMODULERR t module_nameRtattrsR7RRRR(ReR RRRR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRs   "cCsjd|i|if}|io|ddi|i7}n|io|ddi|i7}n|S(Ns%s = %st:Rs [%s]R(R RRRR(ReR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyt__str__s   cCsdt|S(NsEntryPoint.parse(%r)(Ro(Re((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRfscCs|o|i||nt|ittdg}xP|iD]E}yt||}WqFtj otd||fqFXqFW|S(NRbs%r has no %r attribute(RRrRtglobalsRRsRsR(ReRRRRtattr((s1/usr/lib/python2.6/site-packages/pkg_resources.pytloads! cCsZ|io|i otd|nttiti|ii|i||dS(Ns&Can't require() without a distribution(RRR<RR-RRR(ReRR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRs c Cs%yd }}|idd\}}d|joL|idd\}}tid|}|io tn|i}nd|joN|idd\}}t|ip tn|iid}nWn"tj otd|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 t=it[sx[RRs9EntryPoint must be in 'name=module:attrs [extras]' formatN(( RR7RtspecsRRRRR(tclstsrcRRRR tvalueR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRs&       cCst|ptd|nh}x\t|D]N}|i||}|i|jotd||in|||i(RetdmR R'treqs((s1/usr/lib/python2.6/site-packages/pkg_resources.pyt_dep_map_s  'cCs|i}g}|i|iddxU|D]M}y|i|t|Wq/tj otd||fq/Xq/W|S(s@List of Requirements needed for this distro if `extras` are useds%s has no such extra feature %rN((RRRRRFRqR<(ReRRtdepsR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRks ccs7|i|o#x |i|D] }|Vq WndS(N(RR(ReR R((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRyscCsb|djo ti}n|i||tijo't|itt|idndS(s>Ensure distribution is importable on `path` (default=sys.path)snamespace_packages.txtN( RRR}RR]RRR,R(ReR}((s1/usr/lib/python2.6/site-packages/pkg_resources.pytactivate~s    cCsRdt|it|i|iptf}|io|d|i7}n|S(s@Return what this distribution's standard .egg filename should bes %s-%s-py%sR$(RGRRRRR(ReR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRAs  cCs*|iod||ifSt|SdS(Ns%s (%s)(RRo(Re((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRfs cCsPyt|dd}Wntj o d}nX|pd}d|i|fS(NRs[unknown version]s%s %s(RsRRR(ReR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRs   cCs-|ido t|nt|i|S(sADelegate all unrecognized public attributes to .metadata providerR(RRsRsR(ReR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyt __getattr__s cKs(|it|tii|||S(N(RRR|R}RE(RRRyR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRscCstid|i|ifS(s?Return a ``Requirement`` that matches this distribution exactlys%s==%s(R7RRR(Re((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRscCsF|i||}|djotd||ffn|iS(s=Return the `name` entry point of `group` or raise ImportErrorsEntry point %r not foundN(R$RRR(ReRR R((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR"s cCsgy |i}Wn5tj o)ti|id|}|_nX|dj o|i|hS|S(s=Return the entry point map for `group`, or the full entry mapsentry_points.txtN(t_ep_mapRsR8RRRR(ReRtep_map((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR#s ! cCs|i|i|S(s<Return the EntryPoint object for `group`+`name`, or ``None``(R#R(ReRR ((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR$sc Cs|p|i}|idjoWy |i}Wntj o d}nXd|jotdt|iqwn|pdS|tijo|int|}t ii |}t t|}d}xt |D]`\}} | |joPq| |jo5|itjo%|i|||i||PqqW|i|dSxHy|i||d} Wntj oPqYX|| =|| =| }qYdS(s@Insert self.location in path before its nearest parent directoryt setuptoolsRxs0.7sLA 0.7-series setuptools cannot be installed with distribute. Found one at %sNi(RRRRRoRR}tcheck_version_conflictRR|R RRt enumerateRRJRRtindex( ReR}tlocRtnloctbdirtnpathtbptpRtnp((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRsH         cCs|idjodSti|id}t|i}x|idD]}|tijp||jp |tjoqLn|d joqLnt ti|dd}|ot|i |oqLnt d|||ifqLWdS( NRsnamespace_packages.txts top_level.txtt pkg_resourcesRtsiteR(sIModule %s was already imported from %s, but %s is being added to sys.path(R s setuptoolsssite( RRRRRIRRRpRRsRRt issue_warning(RetnspRtmodnametfn((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR s"  cCs:y |iWn(tj otdt|tSXtS(NsUnbuilt egg for (RRR RcRR(Re((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR" s  cKsMx*dD]"}|i|t||d qW|id|i|i|S( s@Copy this distribution, substituting in any changed keyword argsRRRRRRRy(s project_namesversions py_versionsplatformslocations precedenceN(RRsRRRa(ReRR((s1/usr/lib/python2.6/site-packages/pkg_resources.pytclone* s cCs-g}|iD]}|o ||qq~S(N(R(Ret_[1]tdep((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR8 sN(('RbRgRhRRRJRRRtpropertyRRRRRRRRRRRRRRRRARfRRRRR"R#R$RRRRR(((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR6sR                           4    c Osd}t}y/x(ti|i|jo|d7}qWWntj onXddkl}|d|d||dS(Nii(twarnt stacklevel(RRRRRtwarningsR(RdRtleveltgR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR = s c #s/tt|fd}xD]}t|}|ptd|n|id}|i}g}t||}|o4|i}|tt||dd\}}}n|tt ||d d\}}}g}|D]\} } || t | fq~}t |||Vq(WdS( sYield ``Requirement`` objects for each specification in `strs` `strs` must be an instance of ``basestring``, or a (possibly-nested) iterable thereof. c sMg}x|||pt||o<yi}d}Wqetj otdqeXn|||}|p%td|d|d||n|i|i||i}t||}|o|i}q |||ptd|d||q q W|||}|o|i}n|||fS(Nis+\ must not appear on the last nonblank lines Expected s intatsExpected ',' or end-of-list in(tCONTINUEtnextt StopIterationRRRtendtCOMMA(tITEMt TERMINATORRR tgroupst item_nameRR(R(s1/usr/lib/python2.6/site-packages/pkg_resources.pyt scan_listi s2 % sMissing distribution specis 'extra' nameis version specN(i(ii( titerRDtDISTRORRRtOBRACKETtCBRACKETtVERSIONtLINE_ENDRAR7( RR$RRRR RRRtoptval((Rs1/usr/lib/python2.6/site-packages/pkg_resources.pyR>` s$    %$3c Cslg}|D]}||i|fq ~}|ig}|D]\}}||q?~|dddDO NOT CALL THIS UNDOCUMENTED METHOD; use Requirement.parse()!N(R@t unsafe_nameRRRR?t state_machineRRRRRFRRt frozensetthashCmpRt_Requirement__hash( ReRRRRR+RRR.tparsedttransRt_[3]((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR s= 6"<cCsqdig}|iD]}|di|q~}di|i}|od|}nd|i||fS(NRRxs[%s]s%s%s%s(RRRR(ReRRRR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR s 6cCs t|to|i|ijS(N(RmR7R3(ReR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR sc Cst|to3|i|ijotS|io |i}qcn!t|tot|}nd}d}x|iD]\}}}}||||}|djotS|djot S|djo t }q||djp |djo t}q|q|W|djo t }n|S(NcSs||j||jS(((tatb((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRM stFtTt+R$( RmR6RRRRRR?RR( ReRRhtcompareR5R6R+Rtaction((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR s.       cCs|iS(N(R4(Re((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR scCsdt|S(NsRequirement.parse(%r)(Ro(Re((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRf scCstt|}|ot|djoY|d}t|o:|o3ttd}t|djo |dS|S|Sntd|ntd|dS(NiiRsExpected only one requirementsNo requirements found(RR>R6RR(RRRt founded_reqR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR s  ( RbRgRRRRRRfRRt staticmethod(((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR7 s       s--TtsT+Fs>=sT..s==sF++s!=cCsk|idjoWt|iptSx:|iD]/\}}|djod|jotSq/q/WtStS(sReturn True when distribute wants to override a setuptools dependency. We want to override when the requirement is setuptools and the version is a variant of 0.6. Rs==s>=RBs0.7(s==s>=RB(RR6RRR(Rt comparatorR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR s    cCs<t|tp%d|tfdY}|idS|iS(s&Get an mro for a type or classic classRcBseZRS((RbRg(((s1/usr/lib/python2.6/site-packages/pkg_resources.pyR si(Rmttypetobjectt__mro__(R((s1/usr/lib/python2.6/site-packages/pkg_resources.pyt_get_mro s cCsCx<tt|dt|D]}||jo ||SqWdS(s2Return an adapter factory for `ob` from `registry`RaN(RGRsRD(tregistrytobRj((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRt s cCs:tii|}tii|pti|ndS(s1Ensure that the parent directory of `path` existsN(R|R}R Rtmakedirs(R}R ((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRH$ sccsd}g}xt|D]}|ido]|ido:|p|o||fVn|dd!i}g}qtd|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``. Rt]iisInvalid section headingN(RRDRRDRRR(RtsectiontcontentR((s1/usr/lib/python2.6/site-packages/pkg_resources.pyRE* s  cOsDddkl}ti}ztt_|||SWd|t_XdS(Ni(tmkstemp(ttempfileRNR|Rtos_open(RdRRNtold_open((s1/usr/lib/python2.6/site-packages/pkg_resources.pyReC s   cCsBx;ttD]-}|idptt|||RR7R1RRGRtRHREReRRRSRR-t__main__RTRRRRR}RRRR%RR.R(((s1/usr/lib/python2.6/site-packages/pkg_resources.pytsvT     +                     3      )) )  d  ,      #           , *{@ # = E