Ticket #29242: pymol_shell.diff

File pymol_shell.diff, 813 bytes (added by howarth@…, 14 years ago)

patch to create pymol startup shell script

  • new file setup/pymol_macports

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