Skip to content
Snippets Groups Projects
Select Git revision
  • d5a5f264deee1fc720d44f6c0aab4815edeb6af1
  • master default protected
  • android-upgrade
  • regisb/silent-docker-commands
  • edge
  • regisb/video-upload
  • release/hawthorn
  • release/ginkgo
  • v3.12.4
  • v3.12.3
  • v3.12.2
  • v3.12.1
  • v3.12.0
  • v3.11.12
  • v3.11.11
  • v3.11.10
  • v3.11.9
  • v3.11.8
  • v3.11.7
  • v3.11.6
  • v3.11.5
  • v3.11.4
  • v3.11.3
  • v3.11.2
  • v3.11.1
  • v3.11.0
  • v3.10.1
  • v3.9.1
28 results

main.py

Blame
  • main.py 449 B
    #!/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()