I'm trying to make an ETS-3.0.3-spkg (including Chaco_3.0.1 and Mayavi_3.1.0).

The trouble is in building Enable. Building part of it depends on the
numpy distutils as Robert Kern pointed out.

[EMAIL PROTECTED] numpy-1.2.0.p0]$ cat 
/home/jaap/work/downloads/sage-3.2.1.rc0/local/lib/python2.5/site-packages/numpy/distutils/site.cfg
[DEFAULT]
library_dirs = /home/jaap/downloads/sage-3.2.1.rc0/local/lib
include_dirs = /home/jaap/downloads/sage-3.2.1.rc0/local/include

This hides all system libraries, so for instance the x11 library could not be 
found!

Work around this is s/DEFAULT/anything/, build ETS and eventually
put back DEFAULT. But this is not working from an spkg.

Robert suggested:

> This overrides all of the defaults in
> system_info.py. Unfortunately, there isn't a terribly convenient way
> out of this. numpy's spkg-install could make individual sections for
> those it is going to use to build scipy:
> 
> [lapack_opt]
> library_dirs = ...
> include_dirs = ...
> 
> [blas_opt]
> library_dirs = ...
> include_dirs = ...
> 
> [fftw]
> library_dirs = ...
> include_dirs = ...
> 
> This would leave [x11] with the correct defaults in system_info.py.

Maybe this an idea for numpy-1.2.1.spkg?

Another work around could be from the skpg-install from ets:
create a file $HOME/.numpy-site.cfg
with content

[x11]
library_dirs=/usr/lib
include_dirs=/usr/include

Did not try this yet.

Jaap


BTW I have a working Enthought Tools Suite in Sage now.






--~--~---------~--~----~------------~-------~--~----~
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to