A VCS repository archival tool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- import importlib
- import os
- import codearchiver.core
-
-
- def _import_modules():
- files = os.listdir(__path__[0])
- for fn in files:
- if fn.endswith('.py') and fn != '__init__.py':
- # Import module if not already imported
- moduleName = f'codearchiver.modules.{fn[:-3]}'
- module = importlib.import_module(moduleName)
-
-
- _import_modules()
|