Lines Matching refs:egg
530 self.egg = pkg_resources.get_distribution(egg_or_spec)
532 self.egg = egg_or_spec
544 self.egg.project_name,
561 if not self.egg.has_resource(resource):
563 if self.egg.resource_isdir(resource):
567 return self.__class__(self.egg, resource, self.manager,
577 file = self.egg.get_resource_stream(self.manager, resource)
590 comment='SCRIPT_NAME=%r; PATH_INFO=%r; looking in egg:%s#%r; debug: %s'
592 self.egg, self.resource_name, debug_message or '(none)'))
595 def make_pkg_resources(global_conf, egg, resource_name=''):
597 A static file parser that loads data from an egg using
598 ``pkg_resources``. Takes a configuration value ``egg``, which is
599 an egg spec, and a base ``resource_name`` (default empty string)
600 which is the path in the egg that this starts at.
604 return PkgResourcesParser(egg, resource_name)