Пример #1
0
from utils import utils
"""
@author: CarolinaFernandez

Upgrades OCF modules.
"""

# Show choice screen for OCF modules installed (available for upgrade)
ocf_modules_upgrade = utils.invoke_splash_screen("upgrade",
                                                 utils.get_installed_modules())

if ocf_modules_upgrade:
    # Perform installation of common files
    utils.install_dependencies(utils.common_path, ocf_modules_upgrade)
    # Perform upgrade of already installed modules
    utils.upgrade_modules(ocf_modules_upgrade)
Пример #2
0
from utils import utils

"""
@author: CarolinaFernandez

Removes OCF modules and external libraries/dependencies.
"""

# Show choice screen for OCF modules installed (available for removal)
ocf_modules_remove = utils.invoke_splash_screen("remove", utils.get_installed_modules())

if ocf_modules_remove:
    utils.remove_modules(ocf_modules_remove)
Пример #3
0
from utils import utils

"""
@author: CarolinaFernandez

Upgrades OCF modules.
"""

# Show choice screen for OCF modules installed (available for upgrade)
ocf_modules_upgrade = utils.invoke_splash_screen("upgrade", utils.get_installed_modules())

if ocf_modules_upgrade:
    # Perform installation of common files
    utils.install_dependencies(utils.common_path, ocf_modules_upgrade)
    # Perform upgrade of already installed modules
    utils.upgrade_modules(ocf_modules_upgrade)
Пример #4
0
from utils import utils

"""
@author: CarolinaFernandez

Upgrades OCF modules.
"""

# Show choice screen for OCF modules installed (available for upgrade)
ocf_modules_upgrade = utils.invoke_splash_screen("upgrade", utils.get_installed_modules())

if ocf_modules_upgrade:
    # Perform installation of common files
    utils.install_dependencies(utils.common_path, ocf_modules_upgrade)
    # Perform upgrade of already installed modules
    utils.upgrade_modules(ocf_modules_upgrade)

# Show ending screen
utils.invoke_ending_screen("Upgrade")