Am 28.01.2015 um 20:48 schrieb Aaron Meurer:
What is the Debian policy? If a single function uses something is it a
recommended dependency? Imaging is another one. It looks like it is only
used by the pyglet plotting (and pyglet is not on that list). And there are
quite a few libraries that some parts of SymPy can interface with that
aren't on that list either (e.g., should it include a whole compiler
toolchain for the code generation?).
I'll let you Debian guys figure this stuff out. I just wanted to point it
out.
(Full disclosure: I'm just a user of a Debian-based distro, not a
maintainer; I have a rough idea what maintainers do, but that's all. The
package structure outlined below is the one that would give me the most
useful and straightforward set of options. I generally found
optional/recommended dependencies awkward because they don't go away
automatically when the main package is uninstalled; instead, they need
to be removed explicitly.)
Policy is that if it's a function that users would expect, it should be
"depends", if it's a function users would expect to not work without the
package, it's "recommends".
Which hinges on that vague notion of "what users expect".
One way out is to have a separate package for each usage scenario, such
as (very roughly, and not necessarily the best set of splits):
- sympy-base ("this is the base package; you'll usually want
sympy-terminal and/or sympy-plot")
- sympy-terminal ("this uses UTF-8 fonts to properly display formulae on
the terminal, and pulls in any needed fonts")
- sympy-plot ("for creating function plots").
On specialty package structure, e.g. sympy-plot:
First, it would depend on sympy-base and pyglet (I'm assuming plotting
needs just pyglet, it could be more).
Optionally, the package maintainer could take those sympy packages in
sympy-base that are just for plotting, and move these over to sympy-plot.
Just my 2c.
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/54C955CB.8080409%40durchholz.org.
For more options, visit https://groups.google.com/d/optout.