1
0
mirror of https://github.com/markqvist/Reticulum.git synced 2025-03-17 18:56:30 +00:00

7 lines
342 B
Python
Raw Normal View History

2016-06-03 19:02:02 +02:00
import os
import glob
py_modules = glob.glob(os.path.dirname(__file__)+"/*.py")
pyc_modules = glob.glob(os.path.dirname(__file__)+"/*.pyc")
modules = py_modules+pyc_modules
__all__ = list(set([os.path.basename(f).replace(".pyc", "").replace(".py", "") for f in modules if not (f.endswith("__init__.py") or f.endswith("__init__.pyc"))]))