5 toppath = os.path.dirname(__file__)
6 for path, dirs, methods in os.walk(toppath):
9 if dir.startswith("."):
10 remove_dirs.append(dir)
11 for dir in remove_dirs:
14 prefix = prefix[len(toppath) + 1:].replace("/", ".")
15 for method in methods:
16 if method == "__init__.py":
18 if not method.endswith(".py"):
20 native_methods.append(prefix + method[:-3])