Ticket #9958: trac_9958-fix-misc_cythonpy.patch

File trac_9958-fix-misc_cythonpy.patch, 1.2 KB (added by fbissey, 10 years ago)

fix doctest in sage/misc/cython.py, needs to be applied after #11376.

  • sage/misc/cython.py

    # HG changeset patch
    # User Francois Bissey <francois.bissey@canterbury.ac.nz>
    # Date 1308058309 -43200
    # Node ID 9952ac826cdc80b18031128673ee09252e59e6af
    # Parent  f44e7034aad5076856b35a7cfd28b79ee3f75b5c
    #9958 Fix doctests for python-2.7.1, the python version is unfortunately hardcoded.
    
    diff --git a/sage/misc/cython.py b/sage/misc/cython.py
    a b  
    162162        'csage'],
    163163        ['.../local/include/csage/',
    164164        '.../local/include/',
    165         '.../local/include/python2.6/',
    166         '.../local/lib/python2.6/site-packages/numpy/core/include',
     165        '.../local/include/python2.7/',
     166        '.../local/lib/python2.7/site-packages/numpy/core/include',
    167167        '.../devel/sage/sage/ext/',
    168168        '.../devel/sage/',
    169169        '.../devel/sage/sage/gsl/'],
     
    190190        ['bar',
    191191        '.../local/include/csage/',
    192192        '.../local/include/',
    193         '.../local/include/python2.6/',
    194         '.../local/lib/python2.6/site-packages/numpy/core/include',
     193        '.../local/include/python2.7/',
     194        '.../local/lib/python2.7/site-packages/numpy/core/include',
    195195        '.../devel/sage/sage/ext/',
    196196        '.../devel/sage/',
    197197        '.../devel/sage/sage/gsl/']