#==============================================================
#
#  Abs:  Python 3 environment for LinuxRT
#
#  Name: envPython.sh
#
#  Desc: Define the environment to allow python 3 to run on LinuxRT.
#
#  To Use: Add to your st.cmd these lines:
#cp -f ${EPICS_CPU_APP}/../../common/envPython.sh /etc/profile.d/
#chmod 555 /etc/profile.d/envPython.sh
#
#  Facility:  EED Shared Platform
#
#  Auth: dd-mmm-yyyy, Author's Name   (USERNAME)
#  Rev:  dd-mmm-yyyy, Reviewer's Name (USERNAME)
#--------------------------------------------------------------
#  Mod:
#        30-Oct-2020, G. Brown        (GWBROWN)
#        Based on Ernest's GoPython.sh in older startup scripts, modified
#        with Hugo's suggested python 3 and buildroot 2019 paths.
#
#==============================================================

echo "Entered envPython.sh"
#=================================================================================================
# Setup Python Version 3.6.1: for linuxRT
# ================================================================================================

export PATH=$PYTHON_BIN:$PATH

export LD_LIBRARY_PATH=$PYTHON_LIB:$LD_LIBRARY_PATH

export PYTHONDONTWRITEBYTECODE=1
