On Fri, Feb 27, 2009 at 7:49 PM, William Stein <wst...@gmail.com> wrote: > > On Fri, Feb 27, 2009 at 4:24 PM, Ondrej Certik <ond...@certik.cz> wrote: >> >>>> Another thing --- I'd like to create some repository with my packages, >>>> so that people can just "sage -i" install them, without having to >>>> first wget all the spkg and install them manually. So I thought I >>>> would get my packages to sage experimental, but is there any procedure >>>> for that? >>> >>> A while ago I added a feature so one can do >>> >>> sage -i http://url.to.an.spkg/anywhere/on/the/net >>> >>> and sage will download the spkg and install it. That might be good for >>> you so that users do *not* have to use wget (which they might not >>> have, e.g., it isn't on OS X). >> >> This is really helpful. I just posted the spkg to our google code page >> and then it can be installed with: >> >> MAKE="make -j9" sage -i http://qsnake.googlecode.com/files/openmx.spkg > > If building openmx really benefits from "make -j" you might consider > putting something clever in spkg-install to detect "available cores" and > maybe build using them...
Yes, but I need this for all packages, so I think I'll rather customize my own derived sage to do this automatically. For Michael: we'll it's not sage. :) >> Well, not now, because I haven't yet updated the g95 problem that >> Michael just helped me fix and google code is read only now for >> maintenance. :( I think I depend too much on google, when I needed to >> send an important email, gmail went down for couple hours and I was >> literally stuck and had to use some other webmail. > > You should use Sage in such cases. Type > > sage: email? > > for more details. That uses Twisted behind the scenes. I think my sage is a little bit old for emails:) $ sage ---------------------------------------------------------------------- | SAGE Version 3.1.2, Release Date: 2008-09-19 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- sage: email? Object `email` not found. >> One more question: -- I am trying to take sage-3.3.tar and strip it >> from unnecessary spkgs that I don't need -- seems to me that I can >> just delete them? I am learning the dependencies in >> spkg/standard/deps, because it's a bit tricky -- as my first attempt I >> deleted almost everything and it didn't build, so now I am more >> careful. I want to create some minimal build, so that people can take >> it (hopefully it will be just couple MB) and then install only >> packages that they need. I will be experimenting some more with this, >> until I figure it out. >> >> Ondrej >> > > Go for it. That's an awesome idea. We should make this more > generically do-able though. > > This reminds of how Debian is a Linux distribution that dozens > (hundreds?) of other custom Linux distributions derive from. Sage > could be the same. That would be cool. Ok. I did some progress yesterday: http://code.google.com/p/qsnake/wiki/qsnake_all Basically you download 3.2MB tarball and then install everything else using "sage -i". That's what I want! There is not even python in my qsnake_all. If you type ./sage, it will enter an infinite loop, see my wiki above for instructions how to fix it. However, there is a big problem with dependencies, as you need to install the packages in correct order. So I will create some meta packages that will do that for me, e.g. scipy-all-0.1, that would install all packages needed for scipy in correct order. Or sage-all-0.1, that would install Sage+packages. Or mayavi2-all for mayavi. Secretly I hope that it will spark interest of other people, so that we can maintain this stripped sage (michael: not sage) together, as I think it can do the job for all the people who wanted something like python(x,y) for linux. Well, here you have it. When Sage is ported to windows, I'll try to do the same, even though, I don't have any windows here, so maybe someone else will do it for me. :) Ondrej --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---