> for pyDevSup, any suggestions as to how I can automate switching to the virtual environment before invoking the IOC?? (source ~/myvirtEnv/bin/activate??? at the start of st.cmd file??)
All the 'activate' script does these days is modify $PATH so yoy
can instead directly reference 'bin/python` in a virtualenv.
> /path/to/env/bin/python myscript.py
How do I point the path to the virtual environment so that the IOC can use it.
W.R.T.
#!../../bin/linux-x86_64/softIocPy2.7
# Interpreter not started
dbLoadDatabase("../../dbd/softIocPy.dbd",0,0)
softIocPy_registerRecordDeviceDriver(pdbbase)
# Interpreter started
or
> #!/path/to/env/bin/python
> ...
How do I do it while invoking the IOC, with st.cmd file where it is the #!/path/points/to/the/softioc
I am presently having another bash script file from which I activate the the virtual environment and invoking the st.cmd file