Logo Search packages:      
Sourcecode: distribute version File versions  Download package

pkg_resources::FileMetadata Class Reference

Inheritance diagram for pkg_resources::FileMetadata:

pkg_resources::EmptyProvider pkg_resources::NullProvider

List of all members.

Detailed Description

Metadata handler for standalone PKG-INFO files


    metadata = FileMetadata("/path/to/PKG-INFO")

This provider rejects all data and metadata requests except for PKG-INFO,
which is treated as existing, and will be the contents of the file at
the provided location.

Definition at line 1468 of file pkg_resources.py.

Public Member Functions

def __init__
def __init__
def get_metadata
def get_metadata_lines
def get_resource_filename
def get_resource_stream
def get_resource_string
def has_metadata
def has_resource
def metadata_isdir
def metadata_listdir
def resource_isdir
def resource_listdir
def run_script

Public Attributes


Static Public Attributes

 egg_info = None
 egg_name = None
 loader = None
 module_path = None

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index