File size: 367 Bytes
3883c60
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
def install_requirements():
    from setup_tools.magicinstaller.requirements import requirements
    import webui.extensionlib.extensionmanager as em
    for requirement in requirements + em.get_requirements():
        requirement.install_or_upgrade_if_needed()

    import importlib
    importlib.invalidate_caches()

    print('Done installing/checking installs.')