On 4/22/07, mabshoff <[EMAIL PROTECTED]> wrote: > William did mention a while ago that he is interested in a native > MacOSX application. I played around a couple hours and I now have > somewhat of a prototype. >
AWESOME! Many many many thanks! > To build > > - get > http://fsmath.mathematik.uni-dortmund.de/~mabshoff/sage/Sage-2.4.2.app.tar.gz > - build sage > - create a binary release with sage -bdist 2.4.2 > - Untar Sage-2.4.2.app.tar.gz > - cd Sage-2.4.2.app/Contents/MacOSX > - tar xzf /path/to/sage/dist/sage-2.4.2-PowerMacintosh-Darwin.tar.gz - > C . > > and you are done. I can upload a dmg once I will be in the office (~7 > hours from now, much better bandwith) if anybody is interested. > > Problems/know issues: > - the sage interpreter is not terminated when you leave the notebook - > one workaround is to to a "killall python" in a shell, but that can't > be done in the script itseld. This will obviously kill all python > instances you are running, if you are root it will kill everybody's > python instances, so be careful. That's not a good solution. Best would be for me to add an option to the server so it automatically dies after some number of seconds with no activity. Then in your startup script you just pass in that option. What do you think? > - I only tried this with Safari, but if Safari is already running > "sage -notebook" will fail. ?? I think "sage -notebook" should now, by default, pop up your default OS X browser, depending on which you've chosen in OS X. > - if you are on MacIntel you need to adapt the script Sage-2.4.2, > obviously you need to do the same for other version numbers What's different about MacIntel? > Overall this is obviously far from optimal. I will look into Platypus > (see http://mac.softpedia.com/get/System-Utilities/Platypus.shtml ) to > get something better. If anybody would like to take it from here feel > free to do so. What is it that mainly makes it non-optimal? > I did take a superficial look at the dist target and in my tarball > there are ~40 static libs totalling about 35MB - these can probably be > dropped for a binary release, i.e. that release will not be able to > rebuld itself. Overall there seems to be some room for improvement by > getting rid of lots of other files, but that should be discussed in > another thread. I'm not too worried about such optimization at this point. It's always good to house clean like that every once in a while though. A few days ago I installed TexShop + tex processor on my office macpro; the compressed download was over 700MB! It's amazing how big software is these days. But honestly it was very nice because the TexShop (+ tex) install was almost trivial and really does seem to include everything and every package I'm likely to want for doing tex. SAGE aims to be something similar. > PS: Any new estimate for 2.5? I am anxious to build an msi installer > for cygwin and as long as maxima doesn't work correctly on cygwin my > hands are tied :( I'm working on it right now. It's really difficult work, but going steadily. -- William Stein Associate Professor of Mathematics University of Washington http://www.williamstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com 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/ -~----------~----~----~----~------~----~------~--~---