On Thu, Apr 7, 2016 at 3:41 PM, Nicolas M. Thiery
<nicolas.thi...@u-psud.fr> wrote:
> On Thu, Apr 07, 2016 at 03:19:14PM -0700, William Stein wrote:
>> There are very good reasons to supporting both modularization and much
>> more standard approaches to packaging. ... Since -- based on responses --
>> almost nobody else in our community seems to get this either,
>
> For the record, modularity is a major topic of the Sage Days we are
> having right now (although the focus has been more about modularity at
> the granularity of the Sage library w.r.t its dependencies than within
> the Sage library):
>
>         https://wiki.sagemath.org/days77

Cool!  If there's any summary of discussions or questions, etc., let me know.

I think a very useful sprint project for such a workshop would be to
make a Sage-friendly version of this:

   https://python-packaging.readthedocs.org/en/latest/minimal.html

Some issues are:

   - How to doctest code with "sage:" prompts that isn't in the sage
library (basically, you have to be sure to do "sage -t --force-lib
<package name>" and explicitly import from the Python library you're
making in the docstrings.

   - Cython: relying on pxi/pxd files from the sage library.

   - Discussion about how to import functionality from the Sage
library into a library.

There could be a package (hosted on pip) called "sagemath" that other
packages depend on.  It could provide some helper functionality for
the above.

I make no claims to have thought anything through yet!    I did
however spend an hour playing around with this problem yesterday,
which resulted in

  https://github.com/williamstein/sage_modabvar

  https://pypi.python.org/pypi/sage_modabvar/0.1

which is far from done.   I just did a very tiny bit of initial work
on removing this "big" pure-Python modular abelian varieties package
from Sage and making it a standalone module.

Thanks,

William

>
> Cheers,
>                                 Nicolas
> --
> Nicolas M. ThiƩry "Isil" <nthi...@users.sf.net>
> http://Nicolas.Thiery.name/
>
> --
> 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 https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.



-- 
William (http://wstein.org)

-- 
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 https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to