Panda3D
Loading...
Searching...
No Matches
Public Member Functions | List of all members
VFSSharedImporter Class Reference

Public Member Functions

 __init__ (self)
 
 find_module (self, fullname, path=None, reload=False)
 
 getLoadedDirname (self, mod)
 

Detailed Description

 This is a special importer that is added onto the meta_path
list, so that it is called before sys.path is traversed.  It uses
special logic to load one of the "shared" packages, by searching
the entire sys.path for all instances of this shared package, and
merging them. 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self)

Member Function Documentation

◆ find_module()

find_module ( self,
fullname,
path = None,
reload = False )

◆ getLoadedDirname()

getLoadedDirname ( self,
mod )
 Returns the directory name that the indicated
conventionally-loaded module must have been loaded from.