| 1 | #!/bin/sh |
| 2 | # |
| 3 | # PyMOL startup script |
| 4 | # |
| 5 | # ============================================================== |
| 6 | # Set PYMOL_PATH to point at the correct location on your system |
| 7 | # |
| 8 | PYMOL_PATH=@@PYTHON_PKGDIR@@/pymol |
| 9 | export PYMOL_PATH |
| 10 | # |
| 11 | # ============================================================== |
| 12 | # (no changes usually required below here) |
| 13 | # |
| 14 | # python modules |
| 15 | # |
| 16 | if [ "$PYTHONPATH" == "" ]; then |
| 17 | PYTHONPATH=${PYMOL_PATH}/modules |
| 18 | else |
| 19 | PYTHONPATH=${PYMOL_PATH}/modules:${PYTHONPATH} |
| 20 | fi |
| 21 | export PYTHONPATH |
| 22 | # |
| 23 | APBS_PSIZE=@PREFIX@/bin/apbs-psize.py |
| 24 | export APBS_PSIZE |
| 25 | # |
| 26 | exec @@PYTHON_BINARY@@ @@PYTHON_PKGDIR@@/pymol/__init__.py -d "_ set stereo_double_pump_mono,quiet=1" "$@" |