User:Speleo3/pymolplugins

From PyMOLWiki
< User:Speleo3
Revision as of 14:52, 29 February 2012 by Speleo3 (talk | contribs) (created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page is about https://github.com/speleo3/pymolplugins

See also

Lazy installation

mkdir -p ~/.pymol

git clone git://github.com/speleo3/pymolplugins.git ~/.pymol/pymolplugins

cat >> ~/.pymolrc.py <<EOF
import sys, os
sys.path.append(os.path.expanduser('~/.pymol'))
import pymolplugins
EOF

Proposal of Procedure for Integration into Open-Source PyMOL

  1. Add as module pymolplugins or pymol.plugins
  2. import the module somewhere in pymol.invocation, suppressed by -k flag (or a new flag)

More tight integration

  1. port stuff from pymolplguins.legacysupport to pmg_tk module (in particular the overloaded methods)

For the future

  1. make plugin loading independent of external GUI (move initializePlugins code to main PyMOL invocation)