4 ms·
That's not what the ticket is about. The main part of sagemath is sagelib a python/cython library, and the ticket is about making this part pip-installable. Sag
by infinity0 8y ago
That's not what the ticket is about. The main part of sagemath is sagelib a python/cython library, and the ticket is about making this part pip-installable. Sagemath the whole package depends on many non-python programs and it won't ever be possible or desirable to make this all pip-installable.
OTOH we have done a ton of work making sagemath apt-get installable, and that works since about 2 years ago.
- macawfish 8y agoAh, I think I understand... Thanks for clarifying. I'm used to thinking of Sage as the thing that does `from sage.all import ...` But I also understand that there are lots of things in Sage relying on libraries like GAP or Magma. So it sounds like this wouldn't necessarily guarantee that what you import from sagelib will necessarily be available or configured to work with sagelib, unless that piece you've imported has all python dependencies. Is that right? Really I'm just hoping to be able to use some of the algebra modules (specifically Clifford algebra) without installing all of sagemath. It seems like for a lot of modules that should be possible, and then for a lot of other modules it wouldn't be. Am I understanding this right? The idea of being able to write packages python packages that depend on sagelib (yet live on pypi.org) is very exciting, and I feel that it could push the quality and consistency of sagelib by drawing new contributors (e.g. from the greater scipy ecosystem). For a long time, I've been sad that I couldn't write python packages that depend on sage stuff without limiting their working environment to a full-blown sage environment. So the thought of this becoming a reality is pretty exciting to me! P.S. could someone change the title to "Sagelib is slowly moving toward being pip-installable" ?
- pvg 8y agoYou can email the mods to fix the title. Probably better to just stick to the guidelines about titles to begin with. Most things that are hard to title (tweets, bits from the middle of some mailing list thread, raw issue tracker items, etc) also tend to make poor submissions anyway.
- dimpase 8y ago> this wouldn't necessarily guarantee that what you import from sagelib will necessarily be available or configured to work with sagelib, unless that piece you've imported has all python dependencies. Is that right? No, not really - what you can import will be working, whether via python bindings in sagelib, or external ones. The corresponding ongoing challenge of sagelib/sagemath development is to un-vendor a lot of components currently bundled in. Debian has managed this in their own not very portable way.