diff --git a/installation_and_upgrade/ibex_install_utils/install_tasks.py b/installation_and_upgrade/ibex_install_utils/install_tasks.py index 74d8b26b..0ba55339 100644 --- a/installation_and_upgrade/ibex_install_utils/install_tasks.py +++ b/installation_and_upgrade/ibex_install_utils/install_tasks.py @@ -140,7 +140,6 @@ def run_instrument_install(self): self._system_tasks.update_web_dashboard() self._system_tasks.update_kafka_topics() self._system_tasks.put_autostart_script_in_startup_area() - self._python_tasks.update_script_definitions() def run_instrument_deploy(self): """ @@ -191,7 +190,6 @@ def run_instrument_deploy_main(self): self._system_tasks.apply_changes_noted_in_release_notes() self._system_tasks.update_release_notes() self._system_tasks.reapply_hotfixes() - self._python_tasks.update_script_definitions() def run_instrument_deploy_pre_stop(self): """ diff --git a/installation_and_upgrade/ibex_install_utils/tasks/python_tasks.py b/installation_and_upgrade/ibex_install_utils/tasks/python_tasks.py index 76190c00..11f30516 100644 --- a/installation_and_upgrade/ibex_install_utils/tasks/python_tasks.py +++ b/installation_and_upgrade/ibex_install_utils/tasks/python_tasks.py @@ -18,6 +18,15 @@ def install_genie_python3(self): self._file_utils.mkdir_recursive(APPS_BASE_DIR) RunProcess(self._genie_python_3_source_dir, "genie_python_install.bat").run() + @task("Change genie_python shortcuts to python 3") + def change_shortcuts_to_python_3(self): + """ + Prompt user to find shortcuts to genie_python and replace them with Python 3 shortcuts + """ + + self.prompt.prompt_and_raise_if_not_yes( + "Relace any shortcuts to genie_python with those to python 3 in C:\\Instrument\\Apps\\Python3") + @task("Update script generator script definitions") def update_script_definitions(self): """