mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-11-10 15:20:56 +00:00
159e24a95d
This is for supporting json-based plugins. The great thing about this change is that it allows us to easily print plugin version numbers in `plugins list`.
22 lines
410 B
Python
Executable File
22 lines
410 B
Python
Executable File
#!/usr/bin/env python3
|
|
from tutor.plugins import OfficialPlugin
|
|
|
|
# Manually install plugins (this is for creating the bundle)
|
|
for plugin_name in [
|
|
"discovery",
|
|
"ecommerce",
|
|
"figures",
|
|
"lts",
|
|
"minio",
|
|
"notes",
|
|
"xqueue",
|
|
]:
|
|
try:
|
|
OfficialPlugin.INSTALLED.append(OfficialPlugin(plugin_name))
|
|
except ImportError:
|
|
pass
|
|
|
|
from tutor.commands.cli import main
|
|
|
|
main()
|