Orbits
1
|
Public Member Functions | |
def | __init__ |
Public Member Functions inherited from pkg_resources.DefaultProvider | |
def | get_resource_stream |
Public Member Functions inherited from pkg_resources.EggProvider | |
def | __init__ |
Public Member Functions inherited from pkg_resources.NullProvider | |
def | __init__ |
def | get_resource_filename |
def | get_resource_stream |
def | get_resource_string |
def | has_resource |
def | has_metadata |
def | get_metadata |
def | get_metadata |
def | get_metadata_lines |
def | resource_isdir |
def | metadata_isdir |
def | resource_listdir |
def | metadata_listdir |
def | run_script |
Public Attributes | |
module_path | |
egg_info | |
Additional Inherited Members | |
Static Public Attributes inherited from pkg_resources.NullProvider | |
egg_name = None | |
egg_info = None | |
loader = None | |
Metadata 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)
def pkg_resources.PathMetadata.__init__ | ( | self, | |
path, | |||
egg_info | |||
) |
pkg_resources.PathMetadata.egg_info |
pkg_resources.PathMetadata.module_path |
Copyright 2014 Google Inc. All rights reserved.