code: def _get_dependencies(self):
          
          #The only complication with the whole process is that we need to get the list of
          #dependencies for the current module. For full lib, we compile *all* the files in
          #the directory, otherwise only those that are explicitly required.
          from os import path
          modules = self.module.search_dependencies()
          result = {}
          for module in modules:
              self.module.parent.load_dependency(module, True, True, False)
              
          for modname, module in list(self.module.parent.modules.items()):
              pathkey = path.dirname(module.filepath).lower()
              if pathkey not in result:
                  result[pathkey] = path.dirname(module.filepath)
  
          return result
docs: Gets a list of the module names that should be included in the shared lib compile
          as dependencies for the current wrapper module.