test
This commit is contained in:
parent
36aa57fe97
commit
f0517bc965
@ -1,6 +1,4 @@
|
|||||||
from os.path import dirname, basename, isfile, join
|
#!/usr/bin/env python
|
||||||
import glob
|
import os
|
||||||
modules = glob.glob(join(dirname(__file__), "*.py"))
|
import pkgutil
|
||||||
__all__ = [basename(f)[:-3] for f in modules if isfile(f) and not f.endswith('__init__.py')]
|
__all__ = list(module for _, module, _ in pkgutil.iter_modules([os.path.dirname(__file__)]))
|
||||||
for x in __all__:
|
|
||||||
import x
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user