File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
tools/running_tool_entrypoint_app Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ script_date='2022/10/14'
1010file_entrypoint_app_main_default=' hmc_tool_running_entrypoint_app_main.py'
1111file_entrypoint_app_configuration_default=' hmc_tool_running_entrypoint_app_configuration_hmc_generic.json'
1212
13+ # Virtualenv default definition(s)
14+ virtualenv_folder=' /home/fabio/fp_system_conda/'
15+ virtualenv_name=' fp_system_conda_hmc_libraries'
16+
1317# Default script folder
1418script_folder=$PWD
1519
@@ -26,6 +30,15 @@ Usage of docker runner:
2630 -c filename of entrypoint app configuration;"
2731# -----------------------------------------------------------------------------------------
2832
33+ # -----------------------------------------------------------------------------------------
34+ # Activate virtualenv
35+ export PATH=$virtualenv_folder /bin:$PATH
36+ source activate $virtualenv_name
37+
38+ # Add path to pythonpath
39+ export PYTHONPATH=" ${PYTHONPATH} :$script_folder "
40+ # -----------------------------------------------------------------------------------------
41+
2942# ----------------------------------------------------------------------------------------
3043# Info script start
3144echo " ==================================================================================="
You can’t perform that action at this time.
0 commit comments