This is a read-only mirror of pymolwiki.org

Difference between revisions of "Talk:Plugin Manager"

From PyMOL Wiki
Jump to navigation Jump to search
 
(→‎Startup path: new section)
Line 2: Line 2:
  
 
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. --[[User:Sbliven|Sbliven]] 07:00, 26 November 2014 (EST)
 
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. --[[User:Sbliven|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, <tt>sys.prefix</tt> resolves to <tt>PYTHON_HOME/ext</tt>. I do have a <tt>/ext/lib</tt> (lower case), but my site-packages is at <tt>/ext/lib/python1.7/site-packages</tt>, and it doesn't contain a pmg_tk module. Perhaps what was really intended was to add <tt>PYTHON_HOME/modules/pmg_tk/startup</tt>, 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?
 +
--[[User:Sbliven|Sbliven]] 07:08, 26 November 2014 (EST)

Revision as of 12:08, 26 November 2014

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)