On Sun, Mar 28, 2010 at 3:31 PM, Dr. David Kirkby
<david.kir...@onetel.net> wrote:
> William Stein wrote:
>
>> Regarding the implementation of that script, you could maybe check for
>> ls returning an error (or whatever) as above.  However, better
>> would be to write something in Python, e.g.,
>>
>> #!/usr/bin/env python
>>
>> import os
>>
>> # do something with os.listdir()
>>
>> ---
>>
>> By factoring out this functionality in a script, we avoid awkward
>> buggy so called "best practices" appearing in spkg-install scripts.
>> As much as possible, anything that could possibly be replicated in
>> several spkg-install scripts should be factored out.
>>
>>
>> William
>
> That's not going to work until python is installed.

All that matters is that Python is installed system-wide on the
persons computer.

> Why not make it a shell
> script instead - it would work before python is built, irrespective of
> whether someone has python installed on their machine.

I'm fine with requiring some Python be installed as a prerequisite for
building Sage.
Python is a fine language for writing system/build system scripts.

Several of the Sage components use Perl (NTL and Pari), so some
systemwide Perl is a prereq for installing Sage.  Requiring some
Python is just as reasonable as requiring some Perl, which we already
do.


 -- William

>
> 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
>
> To unsubscribe from this group, send email to
> sage-devel+unsubscribegooglegroups.com or reply to this email with the words
> "REMOVE ME" as the subject.
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

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

To unsubscribe from this group, send email to 
sage-devel+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to