I don't see why optional packages should not try to install their
dependencies.  I just made a new experimental spkg (ticket #7453) for
David Perkinson's sandpile module.  It needs the glpk and 4ti2
packages, so I attempt to install them with "sage -i" in the spkg-
install script.  The bad thing is I hard-code the package numbers, so
that will break if they are updated.  The good thing is that "sage -i"
will skip an already installed package, so this doesn't waste any
extra time if they are already there.

I don't see why a similar system wouldn't work with other package
dependencies.

-Marshall

On Nov 13, 3:13 am, Simon King <[email protected]> wrote:
> Hi!
>
> Note that some optional packages fail to install due to dependencies.
> For example, my p_group_cohomology-1.1.spkg requires that gap_packages
> is installed first. In the log posted by David, this is given as the
> reason for the failed installation.
>
> Is it possible to take care of such dependencies? I guess my
> cohomology package is not the only optional package that relies on
> another optional package.
>
> Cheers,
> Simon
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to