Hi,

for FEMhub (http://femhub.org/) got rid of the Sage buildsystem
completely and wrote a simple 414 lines Python script that does the
same (that we need -- for Sage more stuff would have to be ported). I
talk a little bit about it here:

http://ondrejcertik.blogspot.com/2010/06/week-june-5-june-11.html

quoting:

"""
It's written in Python and I totally got rid of the old Sage build
system. Some features of the new one:

* dependencies
* automatically uses all your processors (unless told otherwise)
* simple Python script (414 lines) that handles everything, plus
sage-env, sage-spkg and sage-make_relative scripts (the rest I simply
deleted)
* allows you to install just some packages, for example "./femhub -i
python" just installs python and it's dependencies
* allows you to unpack any package into the devel/ directory and then build it
"""

I would also add, that all packages are nicely sitting in
spkg/standard/ and that's it. There is a bzip2 package too. For
prerequisites, it needs Python (2.4 or higher), bzip2 binary (dev
files are not needed) and same things that Sage needs.

the code is here:

http://git.hpfem.org/femhub.git

the script itself is here:

http://git.hpfem.org/femhub.git/blob/HEAD:/spkg/base/femhub-run

I still have to write some better documentation, but if you want to
give it a shot, do:

git clone http://git.hpfem.org/git/femhub.git
cd femhub
./femhub -d
./femhub -b


See "./femhub -h" for help. It is tested on Mac and Linux.

After I add dependencies for Sage stuff, I think it should be possible
to "./femhub -i sage" and it would install the rest of Sage packages,
that we don't ship with femhub.

The dependencies stuff is really cool, for example if all you need is
python and scipy, you do:

./femhub -i scipy

and that's it. It figures out what has to be installed in what order.

It's a long term project, it can't be polished overnight. So there are
likely many bugs etc. But I just wanted to let you know about it. In
my opinion it got very simple now so I am very happy about it.

I am interested in any feedback.

Ondrej

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to