On 4/13/07, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > Looks like a very good roadmap (for widespread use). I've got some > comments and questions on distributions. > On Apr 13, 2007, at 12:05 AM, William Stein wrote: > > - OS X: We need an .app bundle for SAGE, i.e., a way to create a > > .app directory structure, so users get a single icon that they can > > drag anywhere, e.g., their /Applications folder. Double clicking on > > the icon should start a SAGE notebook server and pop up a copy of SAGE > > running in Firefox, or complain that Firefox must be installed. The > > notebook server should just run in the background, and should turn > > itself off if it isn't used for 1 hour. The SAGE Notebook should very > > clearly report what happens if the notebook server disappears. It is > > critical that either this .app bundle be creatable on OS X in an > > automated fashion that anybody with OS X and xcode can do by typing > > "sage -bdistosx filename-2.4.2.pkg" say. > > How much effort has gone into trying to do this already?
I tried "somewhat randomly" about 3 times for an hour each, and got nowhere. Bobby and his roommate also tried, and similarly got nowhere. > I've poked > around with AppleScript a bit and it doesn't look like it'd be too > hard--basically you can make a .app that runs a simple AppleScript > file, which would look for firefox and then call the shell command > "sage -notebook [args based on drag-n-drop parameters and/or the > location/identifier of firefox]". The entire /sage folder could sit > inside SAGE.app/Contents/resources/, which would be relative to the > AppleScript script that calls it. Creating the distribution would > simply be a matter of placing the sage folder inside the SAGE.app > directory structure (which would be created manually once and perhaps > placed in an spkg or something). Do it! You'd be a hero! > > - MS Windows: We need a .msi installer that installs cygwin and > > SAGE together to a uers's directory. Gary Zablackis used to make one > > of this, but he is no longer contributing to SAGE, unfortunately. > > Nobody has volunteered to take over. Creation of this installer > > should be as automated as possible, optimally do-able entirely from > > SAGE/Cygwin by typing a command in SAGE or from Cygwin. > > I'm never quite sure what the status is in SAGE on Windows. I though > that we were abandoning Cygwin in favor of VMWare. Is this not the > case anymore? I can't see a good reason not to support both VMware and Cygwin, which is what I'm currently doing. Some people prefer one and some people the other. Often people have weird firewall, etc., problems with vmware, and not with cygwin. Plus, there's no guarantee vmware player won't go non-free at some point, so it's not good to only support it. -- William Stein Associate Professor of Mathematics University of Washington http://www.williamstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---