On 5 Aug., 22:05, Jean-Pierre Flori <
jpfl...@gmail.com> wrote:
> But what if I want to distribute some tar file of a source Sage
> distribution, with a sagenb-*.spkg file within it?
> And more specifically, what if I would like to get a patch to spkg-install
> integrated upstream (which seems to be part of Sage, or of the "spkg",
> rather than of sagenb).
You cannot patch spkg-install, at least not directly, as it is created
each time you run spkg-dist, which is the way you create a new SageNB
spkg.
SageNB's spkg-dist is located in devel/sagenb/, although you can of
course just take any existing SageNB spkg, modify src/sagenb/spkg-
dist, and run it to create a new spkg with the "patched" spkg-install
in its top-level directory. (Unfortunately you have to run spkg-dist
from within a Sage subshell IIRC.)
[For testing purposes, you can of course modify spkg-install in the
spkg's top-level directory directly, and use 'tar' to "manually"
create a new spkg.]
> Does this file belong to the notebook (let's understand that as all the
> files within the git repo) or not?
> I'd say no.
I'd say yes... ;-)
-leif