#14570: Cythonize Sage library out of tree
-----------------------------------+----------------------------------------
Reporter: rohana | Owner: GeorgSWeber
Type: enhancement | Status: closed
Priority: major | Milestone: sage-5.10
Component: build | Resolution: fixed
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: Jeroen Demeyer
Authors: R. Andrew Ohana | Merged in: sage-5.10.beta4
Dependencies: #14569 | Stopgaps:
-----------------------------------+----------------------------------------
Comment (by felixs):
Replying to [comment:13 jdemeyer]:
> This kind of feedback should really be directed to Cython upstream. If
somebody is reinventing the wheel here, it's Cython, not Sage.
The build system choice is clearly on the sage side. Just because the
"build system" that cython provides lacks functionality, doesn't mean
that I expect them to fix it.
Replying to [comment:14 jdemeyer]:
> Also note that Python doesn't use `automake` either.
What are you trying to say (I dont want python to use automake.)?
Do you agree that
- Sage is built mostly by cython and gcc,
- gcc does not use distutils and
- Sage is not python?
> So what you ask might not easily be doable.
I am not asking for anything. Its just a proposal on how to fix it.
Most things are implemented and ready-to-use within autotools, much more
than distutils can ever dream of. Currently, just cython build rules
need to be added manually (and are supported like any other custom build
rules). native support for pyx->c->so within autotools is just a
question of time.
Note that one alternative would be autogenerating setup.py and
module_list.py from templates with autoconf (yes, autoconf implements
the checks we need). I doubt that this can either be as functional nor
maintainable as a clean-room autotools-based implementation...
And yes, it's doable with autotools. Any better ideas?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14570#comment:15>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.