On 1/11/08, Lars Fischer <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> at the moment we are developing a class for finite quadratic modules.
> It consists of one sage file (quadratic_module.sage).
>
> I want to create a spgk file for our project. As far as I understand
> it, I should package quadratic_module.sage along with a spkg-install
> inside a directory.
>
> At the moment my spkg-install looks like:
> sage quadratic_module.sage # to create quadratic_module.py
> cp quadratic_module.py $INSTALLPATH
>
>
> My first question is: what should I use as $INSTALLPATH?
>
> I considered
> $SAGE_LOCAL/lib/python/site-packages/finite_modules
> $SAGE_ROOT/devel/sage/sage/modules
> and
> $SAGE_ROOT/devel/sage/sage/modules/finite_modules
>
> (At least we hope to be included in a future release of SAGE.)
> I think the last two targets need further setup.
>
> My second question is: Is there further information about "creating
> packages"?
>
> I read the third chapter of the programming guide, but I don't
> understand the details discussed in the thread "spkg refactoring and
> development model" on sage-devel.

It would be much much better if you would
 (1) make your code work as part of the Sage library (i.e., as python
code that is in SAGE_ROOT/devel/sage/sage/)
 (2) release your code under the GPL,
 (3) make sure there are lots of doctests, and
 (4) submit it as an mercurial/hg patch to us,

so that it can get (a) refereed, (b) be included in every
version of sage, and (c) make sure it continues to work
even as we change and improve Sage (because we'll
always run all your doctests and if they fail then we'll
be notified and fix things).

 -- William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to