making a python package

Hello, we would like to package our software, Spire (www.wadsworth.org/spider_doc/spider/docs/spire/) the way Chimera is packaged, with its own Python, Tcl/Tk, and other libraries. Do you have some documentation, or can you point me toward some resources that explain how to go about creating such an installation package? Thanks, Bill Baxter -- William T. Baxter, Ph.D. Wadsworth Center Empire State Plaza, PO Box 509 Albany, NY 12201-0509 IMPORTANT NOTICE: This e-mail and any attachments may contain confidential or sensitive information which is, or may be, legally privileged or otherwise protected by law from further disclosure. It is intended only for the addressee. If you received this in error or from someone who was not authorized to send it to you, please do not distribute, copy or use it or any attachments. Please notify the sender immediately by reply e-mail and delete this from your system. Thank you for your cooperation.

On Wed, 30 Jul 2008, William Baxter wrote:
Hello,
we would like to package our software, Spire (www.wadsworth.org/spider_doc/spider/docs/spire/) the way Chimera is packaged, with its own Python, Tcl/Tk, and other libraries. Do you have some documentation, or can you point me toward some resources that explain how to go about creating such an installation package?
Thanks, Bill Baxter
We don't have any documentation, but here's a quick description of what we do binary distributions for chimera: On Windows, we use the Inno Setup program, <http://www.jrsoftware.org/isinfo.php>. For Mac OS X, we build a disk image using the hdiutil program. And we modify the name all of the shared libraries with something like: install_name_tool -id @executable_path/$(LIBNAME) On Linux and other Unix systems, we use a modified self-extracting zip archive where an installation program is run after the files have been extracted. In all cases, when chimera starts up, we set up the environment to get our shared libraries (and clear the environment of things that would hurt us, like PYTHONHOME). Hope this helps, Greg Couch UCSF Computer Graphics Lab
participants (2)
-
Greg Couch
-
William Baxter