2019-06-06 19:58:21 +00:00
|
|
|
#!/usr/bin/env python3
|
2019-08-20 15:01:34 +00:00
|
|
|
import importlib
|
2019-06-06 19:58:21 +00:00
|
|
|
|
|
|
|
from tutor.plugins import Plugins
|
|
|
|
|
2019-08-20 15:01:34 +00:00
|
|
|
# Manually install plugins (this is for creating the bundle)
|
2019-12-25 00:09:53 +00:00
|
|
|
for plugin in ["discovery", "ecommerce", "figures", "lts", "minio", "notes", "xqueue"]:
|
2019-08-20 15:01:34 +00:00
|
|
|
try:
|
|
|
|
module = importlib.import_module("tutor{}.plugin".format(plugin))
|
|
|
|
except ImportError:
|
|
|
|
pass
|
|
|
|
else:
|
|
|
|
Plugins.EXTRA_INSTALLED[plugin] = module
|
|
|
|
|
2019-12-25 00:09:53 +00:00
|
|
|
from tutor.commands.cli import main
|
2019-12-25 00:15:50 +00:00
|
|
|
|
2019-06-06 19:58:21 +00:00
|
|
|
main()
|