Indraneel, At present, wizards need to be located in the $PYMOL_PATH/modules/pymol/wizard directory -- changing this would be nontrivial, since all wizards are assumed to reside in the "pymol.wizard" namespace.
FYI: module-name.__path__ has a different meaning than sys.path. Cheers, Warren -- Warren L. DeLano, Ph.D. Principal Scientist . DeLano Scientific LLC . 400 Oyster Point Blvd., Suite 213 . South San Francisco, CA 94080 USA . Biz:(650)-872-0942 Tech:(650)-872-0834 . Fax:(650)-872-0273 Cell:(650)-346-1154 . mailto:war...@delsci.com > -----Original Message----- > From: Indraneel Majumdar [mailto:indran...@smartpatch.org] > Sent: Monday, February 27, 2006 5:51 PM > To: pymol-users@lists.sourceforge.net > Cc: Warren DeLano > Subject: wizard path option > > Hi, > > I notice that imp.find_module() uses wizard.__path__ instead > of the default sys.path. Is there a problem in using > wizard.__path__+sys.path ? > I guess changing wizard.__path__ is probably a bad idea. > > How should one run wizards not located in the pymol tree (eg > during testing)? > > TIA, > Indraneel > > -- > http://prodata.swmed.edu > > > >