On Mon, Apr 22, 2013 at 11:14:43AM +0200, Jeroen Demeyer wrote:
> On 04/22/2013 09:57 AM, Felix Salfelder wrote:
> >do you see disadvantages in treating sage parts as modules?
> It doesn't even make sense to treat them as modules, since they are
> not independent. libcsage means nothing without the Sage Python
> library, the Sage Python library requires libcsage and the scripts
> make no sense without Sage.

being a module doesnt imply "makes sense standalone". so there is no
contradiction. sage-python depends on libcsage, but libcsage can be
built without sage-python. the scripts make no sense without sage, but
sage makes perfect sense without the scripts. extcode and what-not may
have different dependencies. why not leave these choices to the user?

> >maybe it doesnt matter much, whether c_lib and scripts are in the same
> >module or not, for distribution purposes it makes sense to have
> >python-sage and sagenb seperated.
> sagenb is a separate project, at least on paper. Currently Sage
> doesn't work without sagenb, but one could argue that's a bug.

if the notebook is convenient for many, then one should set
"--enable-notebook" the default in sage ("the distribution").

sage ships a python library that works perfectly well /without/ the
notebook. try
$ python
> from sage import all

or just
$ sage
> <some command that doesnt start a notebook server>

so it would be a bug, if the notebook was obligatory. also consider,
that the notebook is intended as frontend for other software as well.

if /currently/ sage doesnt work without the notebook or the notebook
doesnt work standalone (which might be the case), there is no reason to
complicate these uses further. what you suggest makes --disable-notebook
and packaging the notebook ultimately impossible (and that would be a
different project).

regards
felix

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to