Ticket #11712: trac_11712-2nd.patch

File trac_11712-2nd.patch, 1.3 KB (added by was, 10 years ago)
  • sage/misc/cython.py

    # HG changeset patch
    # User Martin Albrecht <martinralbrecht@googlemail.com>
    # Date 1314133112 -3600
    # Node ID 26318599b34dd9af6840a4f1e1adee629ff590d2
    # Parent  cbc290e92765ba9a07278d5abb3d48b230b41f9a
    #11712 mention that cfile expands $SAGE_ROOT
    
    diff --git a/sage/misc/cython.py b/sage/misc/cython.py
    a b  
    143143      files. The space separated list is split and passed to
    144144      distutils.
    145145
    146     - ``cfile`` - additional C or C++ files to be compiled
    147       ('$SAGE_ROOT' is expanded, other environment variables are not.)
     146    - ``cfile`` - additional C or C++ files to be compiled. Also,
     147      ``$SAGE_ROOT`` is expanded, but other environment variables
     148      are not.
    148149
    149150    - ``cargs`` - additional parameters passed to the compiler
    150151
  • sage/misc/cython_c.pyx

    diff --git a/sage/misc/cython_c.pyx b/sage/misc/cython_c.pyx
    a b  
    2121      files. The space separated list is split and passed to
    2222      distutils.
    2323
    24     - ``cfile`` - additional C or C++ files to be compiled
     24    - ``cfile`` - additional C or C++ files to be compiled. Also,
     25      ``$SAGE_ROOT`` is expanded, but other environment variables
     26      are not.
    2527
    2628    - ``cargs`` - additional parameters passed to the compiler
    2729