I found an old version of my code. It was just slightly more
complicated than I thought. Here's a version of the wrapper that I
was using:
import sys
sys.path.append('/home/mlerner/work/src/PyMOL_Plugins/')
import SomethingOrOtherTools
def __init__(self):
Actually, I did this when I was developing the APBS Plugin. I put all
of the interesting code in a module called _apbs_tools. apbs_tools
was just a little wrapper where the init function would import and
reload _apbs_tools and then call through to it.
-Michael
On 2/24/07, DeLano Scientific