mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-12 14:17:46 +00:00
18 lines
449 B
Python
Executable File
18 lines
449 B
Python
Executable File
#!/usr/bin/env python3
|
|
import importlib
|
|
|
|
from tutor.plugins import Plugins
|
|
|
|
# Manually install plugins (this is for creating the bundle)
|
|
for plugin in ["discovery", "ecommerce", "figures", "lts", "minio", "notes", "xqueue"]:
|
|
try:
|
|
module = importlib.import_module("tutor{}.plugin".format(plugin))
|
|
except ImportError:
|
|
pass
|
|
else:
|
|
Plugins.EXTRA_INSTALLED[plugin] = module
|
|
|
|
from tutor.commands.cli import main
|
|
|
|
main()
|