How does your execution file look like?
You point to another python to execute the __init__.py file.

You can also define PYTHONPATH or set the PYMOL_PATH
if necessary.

-----------------------------------------------------

[tlinnet@tomat pymolsvn]$ ls
modules  pymolMPEG.sh   pymolplugins       pymolsvn.desktop  svnpymol
pymol    pymolMPEG.sh~  Pymol-script-repo  svnfreemol        updatepymol.sh

[tlinnet@tomat pymolsvn]$ cat pymol
#!/bin/sh
/usr/bin/python /sbinlab2/software/pymolsvn/modules/pymol/__init__.py "$@"
------------------------------------------------------
[tlinnet@tomat pymolsvn]$ cat pymolMPEG.sh
#!/bin/bash
if [ ! -f $HOME/.local/share/applications/pymolsvn.desktop ];
then
ln -s /sbinlab2/software/pymolsvn/pymolsvn.desktop $HOME/.local/share/applications/pymolsvn.desktop
fi
export FREEMOL=/sbinlab2/software/pymolsvn/svnfreemol/freemol
export PYMOL_GIT_MOD=/sbinlab2/software/pymolsvn/Pymol-script-repo/modules
export PYTHONPATH=$PYTHONPATH:/sbinlab2/software/x64/lib64/python2.6/site-packages/PIL
export PYTHONPATH=$PYTHONPATH:/sbinlab2/software/x64/lib64/python2.6/site-packages/lib-tk
export PYTHONPATH=$PYTHONPATH:/sbinlab2/software/x64/lib64/python2.6/site-packages/lib-dynload
export PYTHONPATH=/sbinlab2/software/pymolsvn:$PYTHONPATH
export PYTHONPATH=/sbinlab2/software/pymolsvn/Pymol-script-repo/modules:$PYTHONPATH
export PYTHONPATH=/sbinlab2/software/pymolsvn/Pymol-script-repo:$PYTHONPATH
export PYMOL_PATH=/sbinlab2/software/pymolsvn/modules/pymol/pymol_path
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/sbinlab2/software/x64/lib/pymollib
export LIBGL_ALWAYS_INDIRECT=no
/usr/bin/python /sbinlab2/software/pymolsvn/modules/pymol/__init__.py "$@"


2012/3/1 Francis E Reyes <Francis.Reyes@colorado.edu>
Hi all

I require cctbx with MacPyMOL Executive Build 1.4.

Can someone advise on how to override which python is used?

Thanks!

F



---------------------------------------------
Francis E. Reyes M.Sc.
215 UCB
University of Colorado at Boulder






------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net