Martin Albrecht wrote:
>> One option I believe will work is to put the scripts in
>>
>> $SAGE_ROOT/spkg/base/
>>
>> then update $SAGE_ROOT/spkg/install so it copies the scripts to
>>  $SAGE_LOCAL/bin. The only change needed to the $SAGE_ROOT/spkg/install
>>  script is from
>>
>> cp base/sage-* "$SAGE_LOCAL/bin/"
>>
>> to
>>
>> cp base/sage-* base/testcc.sh base/testcxx.sh "$SAGE_LOCAL/bin/"
>>
>> i.e. this patch
>>
>> http://trac.sagemath.org/sage_trac/attachment/ticket/7505/install.patch
> 
> How about the prereq SPKG, that would seem the right place?
> 
> Cheers,
> Martin
> 

I'm not so sure prereq is the right place.

For a start, one could potentially want to use the scripts in 'prereq' to test 
for a specific compiler. But more to the point, if you look at prereq, it 
really 
does not have anything like this. It could be added to the tar file, but it 
would be quite easy to make a mistake in updating that tar file, as you would 
need to copy the files first to $SAGE_LOCAL/bin, then create the tarfile.

In contrast, putting them in spkg/base seems less problematic to me.

Dave


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