Talk:Plugin Manager

From PyMOLWiki
Revision as of 07:08, 26 November 2014 by Sbliven (talk | contribs) (→‎Startup path: new section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Version introduced

Does anyone know when the Plugin Manager was introduced? I've verified it wasn't present in 1.3 and is present in 1.5, but I don't have access to 1.4 to test it. --Sbliven 07:00, 26 November 2014 (EST)

Startup path

I'm a bit skeptical about this line in the script:

os.path.join(sys.prefix, 'Lib', 'site-packages', 'pmg_tk', 'startup')

On my system, sys.prefix resolves to PYTHON_HOME/ext. I do have a /ext/lib (lower case), but my site-packages is at /ext/lib/python1.7/site-packages, and it doesn't contain a pmg_tk module. Perhaps what was really intended was to add PYTHON_HOME/modules/pmg_tk/startup, which is the only entry in my startup path by default (and therefore doesn't need to be included with the set_startup_path command).

Is the Lib path needed for Windows or some other OS? --Sbliven 07:08, 26 November 2014 (EST)