On Tue, Feb 7, 2012 at 7:47 PM, Julien Puydt <julien.pu...@laposte.net> wrote:
> Le mercredi 08 février, Jeroen Demeyer a écrit:
>> On 2012-02-08 04:23, Julien Puydt wrote:
>> > Le 8/2/2012, Keshav Kini <keshav.k...@gmail.com> a écrit :
>> >
>> >> Upstream configure scripts tend to check for dependencies by just
>> >> testing if it can use them. I guess what is meant here is that
>> >> spkg-install could check whether certain SPKGs had been installed
>> >> into the Sage installation. Also, upstream might not be aware of
>> >> certain dependencies it might gain by whatever patches we apply to
>> >> it (though we could patch the upstream configure script, I
>> >> guess...).
>> >
>> > Wouldn't it be wiser if instead of checking that kind of dependency
>> > with spkg-install, the spkg could contain a "deps" file in which
>> > "sage -i" could have a look, and decide to install said
>> > dependencies before actually running spkg-install at all?
>
>> No, because we already have spkg/standard/deps for this.
>
> No, you don't have spkg/standard/deps for this, as spkg/standard/deps
> is for *mandatory* packages, and the discussion was about *optional*
> packages ;-)
>

I think Julien's suggestion seems pretty reasonable.

I don't think it makes sense to: "Maybe the best solution then is to
add logic to install optional
packages to spkg/standard/deps?" since that requires having a central
location with all dependency information about all optional spkg's.
Remember, anybody can just make an optional spkg and put it up on
their webpage.

 -- William

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