#18494: Install sage headers and auxiliary files (.h/.pxd/.pxi files)
-------------------------------------+-------------------------------------
       Reporter:  fbissey            |        Owner:
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.8
      Component:  distribution       |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  François Bissey    |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/fbissey/trac18494                |  912f8ca84b2de02848e0834c97649339cf018ed0
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by fbissey):

 I am experiencing a difficulty while writing an "examples" section. The
 example works fine from the sage prompt but during doctesting I get
 {{{
 sage -t --long src/sage/env.py
 **********************************************************************
 File "src/sage/env.py", line 164, in sage.env.sage_include_directories
 Failed example:
     sage.env.sage_include_directories()
 Exception raised:
     Traceback (most recent call last):
       File "/usr/lib64/python2.7/site-packages/sage/doctest/forker.py",
 line 496, in _run
         self.compile_and_execute(example, compiler, test.globs)
       File "/usr/lib64/python2.7/site-packages/sage/doctest/forker.py",
 line 858, in compile_and_execute
         exec(compiled, globs)
       File "<doctest sage.env.sage_include_directories[1]>", line 1, in
 <module>
         sage.env.sage_include_directories()
     AttributeError: 'module' object has no attribute
 'sage_include_directories'
 **********************************************************************
 1 item had failures:
    1 of   3 in sage.env.sage_include_directories
     [12 tests, 1 failure, 0.01 s]
 }}}
 The code tested is
 {{{
 sage: import sage.env
 sage: sage.env.sage_include_directories()
 ['/home/fbissey/sandbox/git-fork/sage-6.8.beta3/local/include',
  '/home/fbissey/sandbox/git-fork/sage-6.8.beta3/local/include/python2.7',
  '/home/fbissey/sandbox/git-fork/sage-6.8.beta3/local/lib/python2.7/site-
 packages/numpy/core/include',
  '/home/fbissey/sandbox/git-fork/sage-6.8.beta3/local/lib/python2.7/site-
 packages',
  '/home/fbissey/sandbox/git-fork/sage-6.8.beta3/local/lib/python2.7/site-
 packages/sage/ext']
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/18494#comment:71>
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