##// END OF EJS Templates
Rewrite controller, remove MPDecorator to units (keep for plots an writers) use of queues for interproc comm instead of zmq, self operations are no longer supported
Rewrite controller, remove MPDecorator to units (keep for plots an writers) use of queues for interproc comm instead of zmq, self operations are no longer supported

File last commit:

r1110:bf1b67127ddb
r1287:af11e4aac00c
Show More
link_PyQt4.sh
15 lines | 605 B | application/x-sh | BashLexer
#!/bin/bash
# This hook is run after a new virtualenv is activated.
python_version=python$(python -c "import sys; print (str(sys.version_info[0])+'.'+str(sys.version_info[1]))")
var=( $(which -a $python_version) )
get_python_lib_cmd="from distutils.sysconfig import get_python_lib; print (get_python_lib())"
lib_virtualenv_path=$(python -c "$get_python_lib_cmd")
lib_system_path=$(${var[-1]} -c "$get_python_lib_cmd")
sip_path=$(ls $lib_system_path/sip*.so)
echo "Linking Qt4..."
ln -s $lib_system_path/PyQt4 $lib_virtualenv_path/PyQt4
echo "Linking SIP..."
ln -s $sip_path $lib_virtualenv_path/sip.so