Mahesh,
        
        There are two binary files for PyMOL under windows:
PyMOLWin.exe is a helper, andPymol.exe is the main program.  The helper
is what interacts with the registry to (re)define the environment
variables PYMOL_PATH, TCL_LIBRARY, and PATH.  Given that you are package
PyMOL, you can probably dispense with PyMOLWin.exe and launch PyMOL.exe
directly after defining those environment variables in your own batch
file or helper app.

        I should probably also modify PyMOLWin.exe in future versions so
that it doesn't redefine TCL_LIBRARY if it is already provided ; ).

I hope this helps!

Cheers,
Warren

--
mailto:war...@delanoscientific.com
Warren L. DeLano
Principal
DeLano Scientific LLC
Voice (650)-346-1154 
Fax   (650)-593-4020

-----Original Message-----
From: pymol-users-ad...@lists.sourceforge.net
[mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of Mahesh N
Sent: Friday, May 16, 2003 12:34 AM
To: pymol-users@lists.sourceforge.net
Subject: [PyMOL] Packaging PyMol as part of another application on
Windows

Hi All,

I am facing some problems in packaging PyMol on Windows
as part of our application: From the PyMol log window I
infer that PyMol refers to the windows registry to get
information about where Python is installed. And it
dervies the TCL_LIBRARY variable from that info. Since
we are packaging python also as part of our application,
PyMol is not able to get the information from the
registry. So it guesses a default value for TCL_LIBRARY
variable. So the external GUI (TkInter) is not coming
up. I tried setting the TCL_LIBRARY variable explicitly
and still no luck:-(. I would be very happy to have any
other suggestions.

Thanks!
--Mahesh N




-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
PyMOL-users mailing list
PyMOL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pymol-users


Reply via email to