[sage-devel] Re: spkgs dependencies graph

2019-01-30 Thread Volker Braun
If you want to use it for external dependencies you'll probably need to know about acceptable versions of these. Then you'll soon need a sat solver; E.g. conda does in that way. On Tuesday, January 29, 2019 at 7:45:07 PM UTC+1, Dima Pasechnik wrote: > > Has anyone written code to compute it? >

[sage-devel] Re: spkgs dependencies graph

2019-01-29 Thread John H Palmieri
Cool, and then you can call Poset(digraph_spkg()). On Tuesday, January 29, 2019 at 12:56:07 PM UTC-8, Frédéric Chapoton wrote: > > Quick tentative, not smooth: > > from sage.misc.package import * > > > > > def digraph_spkg(): > """ > digraph > """ > opts = {} > > > local =

[sage-devel] Re: spkgs dependencies graph

2019-01-29 Thread Frédéric Chapoton
Quick tentative, not smooth: from sage.misc.package import * def digraph_spkg(): """ digraph """ opts = {} local = opts.pop('local', False) ignore_URLError = opts.pop('ignore_URLError', False) exclude_pip = opts.pop('exclude_pip', False) if opts: