#19602: Fix dependencies on libraries
-------------------------------------+-------------------------------------
       Reporter:  jdemeyer           |        Owner:
           Type:  defect             |       Status:  closed
       Priority:  major              |    Milestone:  sage-
      Component:  build              |  duplicate/invalid/wontfix
       Keywords:                     |   Resolution:  invalid
        Authors:                     |    Merged in:
Report Upstream:  N/A                |    Reviewers:  Leif Leonhardy,
         Branch:                     |  Volker Braun
  u/jdemeyer/cython_depends          |  Work issues:
   Dependencies:                     |       Commit:
                                     |  87834f093c507475c20e5c23991ad0f091aca03f
                                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 Replying to [comment:24 leif]:
 > This was more transparent or obvious in our older `module_list.py`
 (where we by the way could also use things like `uname_specific()`).

 I completely disagree with this statement though. Listing libraries in
 `module_list.py` is much more prone to errors because you manually need to
 keep track of all libraries that a module uses. Using `module_list.py`, if
 some module uses PARI functions, I need to change `module_list.py`. With
 the `# distutils: libraries` declarations, I don't need special effort: I
 just `cimport sage.libs.pari.foo` and the library gets added
 automatically.

 So I would say that using `# distutils` makes it easier to get it right
 (but it's still possible to make mistakes of course).

--
Ticket URL: <http://trac.sagemath.org/ticket/19602#comment:27>
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/d/optout.

Reply via email to