2019-06-06 19:58:21 +00:00
|
|
|
#!/usr/bin/env python3
|
2020-01-14 12:32:45 +00:00
|
|
|
from tutor.plugins import OfficialPlugin
|
2021-11-23 08:25:09 +00:00
|
|
|
from tutor.commands.cli import main
|
2019-06-06 19:58:21 +00:00
|
|
|
|
2019-08-20 15:01:34 +00:00
|
|
|
# Manually install plugins (this is for creating the bundle)
|
2020-01-14 12:32:45 +00:00
|
|
|
for plugin_name in [
|
2021-04-13 20:14:43 +00:00
|
|
|
"android",
|
2020-01-14 12:32:45 +00:00
|
|
|
"discovery",
|
|
|
|
"ecommerce",
|
2021-10-25 17:32:13 +00:00
|
|
|
"forum",
|
2020-09-17 10:53:14 +00:00
|
|
|
"license",
|
2021-04-13 20:14:43 +00:00
|
|
|
"mfe",
|
2020-01-14 12:32:45 +00:00
|
|
|
"minio",
|
|
|
|
"notes",
|
2021-11-02 17:53:46 +00:00
|
|
|
"richie",
|
2021-04-13 20:14:43 +00:00
|
|
|
"webui",
|
2020-01-14 12:32:45 +00:00
|
|
|
"xqueue",
|
|
|
|
]:
|
2019-08-20 15:01:34 +00:00
|
|
|
try:
|
2020-10-15 14:28:55 +00:00
|
|
|
OfficialPlugin.load(plugin_name)
|
2019-08-20 15:01:34 +00:00
|
|
|
except ImportError:
|
|
|
|
pass
|
|
|
|
|
2021-11-23 08:25:09 +00:00
|
|
|
if __name__ == "__main__":
|
|
|
|
main()
|