← Back to team overview

yade-dev team mailing list archive

Re: PotentialBlocks & Particles documentation on website?

 

Bruno Chareyre said:     (by the date of Mon, 11 Feb 2019 17:59:57 +0100)

> On 2/8/19 7:37 PM, Janek Kozicki wrote:
> > Enabling FEMxDEM means only adding python-escript to recommended 
> > packages.   
> And this is standard in debian?

I'm not sure how to interpret your question :)

In any debian package you can set "depends" and "recommends" information.

If you install a package it automatically pulls all packages listed
in "depends". The "recommends" are automatically pulled only if user
has configured his package manager to also pull recommendations.

Missing recommended packages do not break yade package.

python-escript is not necessary for any other part of yade to work.
Only if you actually want to start a FEMxDEM .py script you get
errors without this package.

Also if python-escript is missing for some reason in the linux
distribution, then yade packaage would NOT be broken, because it does
not depend on it (it only recommends it).

And in fact that is the case with new stable debian release, I don't
know why but python-escript is not there. Maybe it will be added
there later. So if we configure yade.deb to recommend python-escript,
then it would be a hint, that it's nice to install it, but it is not
entirely necessary.

That's what I think we could do to enable FEMxDEM. Plus a bit of
stuff in documentation about how to run those example FEMxDEM
scripts. Which I still want to write ;)

-- 
Janek Kozicki


Follow ups

References