--- /dev/null +++ setup/pymol_macports @@ -0,0 +1,21 @@ +#!/bin/sh +# +# PyMOL startup script +# +# ============================================================== +# Set PYMOL_PATH to point at the correct location on your system +# +PYMOL_PATH=@@PYTHON_PKGDIR@@/pymol/pymol_path +export PYMOL_PATH +# +# ============================================================== +# (no changes usually required below here) +# +# python modules +# +HasRadeon=($(system_profiler SPDisplaysDataType | grep Radeon )) +if [[ -z "$HasRadeon" ]];then + exec @@PYTHON_BINARY@@ @@PYTHON_PKGDIR@@/pymol/__init__.py -d "_ set stereo_double_pump_mono,quiet=1" "$@" +else + exec @@PYTHON_BINARY@@ @@PYTHON_PKGDIR@@/pymol/__init__.py -d "_ set stereo_double_pump_mono,quiet=1" "-M" "$@" +fi