Ok, I got the sources.
svn co https://svn.enthought.com/svn/enthought/autobuild enthought.autobuild

They are now in a directory mayavi_2.0.20080106/mayavi_build

Copying egg_builder.py into it.

Now I don't run python egg_builder.py :)
Instead I write an spkg_install script.

But first of all we want to remove all directories not needed to build mayavi2.
Any help appreciated!

Mayavi (requires: Traits, TraitsGUI, EnvisageCore, AppTools)

     * enthought.mayavi
     * enthought.tvtk

Let's pretend all unnecessary directories are gone. Now my spkg_install
script looks like:

#!/bin/sh

cd mayavi_build

python egg_builder.py -r -v

easy_install -f dist -H dist enthought.mayavi*

Under the condition that all external dependencies are fullfilled,
this will install mayavi2 in the sage environment.
Is this correct? What are precisely the external dependencies for this build?
wxPython +
setuptools +
vtk +
swig ?
pyrex +
PIL -

Now cd .. and do
sage -pkg mayavi_2.0.20080106

And after some time we have mayavi_2.0.20080106.spkg ready for testing.

[EMAIL PROTECTED] sagefiles]$ ls -l mayavi_2.0.20080106*
-rw-rw-r-- 1 jaap jaap 54051652 2008-01-06 21:43 mayavi_2.0.20080106.spkg

mayavi_2.0.20080106:
total 8
drwxrwxr-x 50 jaap jaap 4096 2008-01-06 21:06 mayavi_build
-rw-rw-r--  1 jaap jaap  106 2008-01-06 21:40 spkg-install

The spkg is *big* also because all the ets source is still in it!

Let's do it now. I'm trying this on my latest installed sage-2.9.2
This may take some time :), mostly in building the dependencies.

Cheers,

Jaap




--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---

Reply via email to