#20133: Use pkg-config for Sage setup
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-7.1
      Component:  build              |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Volker Braun       |    Reviewers:
Report Upstream:  N/A                |  Work issues:  fix gsl build
         Branch:                     |  instructionsl pkgconfig import
  u/fbissey/use_pkg_config_for_sage_setup|       Commit:
   Dependencies:  #20130             |  6203f778428cd2af89a24633262fb9e441d19a43
                                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 This should work:
 {{{
 #!diff
 diff --git a/src/sage/misc/all.py b/src/sage/misc/all.py
 index 25838c1..071c6d5 100644
 --- a/src/sage/misc/all.py
 +++ b/src/sage/misc/all.py
 @@ -76,8 +76,8 @@ from sage_eval import sage_eval, sageobj

  from sage_input import sage_input

 -from cython import cython_lambda, cython_create_local_so
 -from cython_c import cython_compile as cython
 +lazy_import("sage.misc.cython", ["cython_lambda",
 "cython_create_local_so"])
 +lazy_import("sage.misc.cython_c", "cython_compile", "cython")
  lazy_import("sage.misc.cython_c", "cython_compile", "pyrex",
 deprecation=9552)
  lazy_import("sage.misc.cython_c", "cython_compile", "sagex",
 deprecation=9552)

 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/20133#comment:42>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to