Changeset 7698:b61900cc2d64


Ignore:
Timestamp:
09/11/07 21:39:09 (6 years ago)
Author:
Robert Bradshaw <robertwb@…>
Branch:
default
Message:

pre-import names from sage.all for dynamically-loaded cython files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sage/misc/cython.py

    r5513 r6361  
    204204    cython_include = ' '.join(['-I %s'%x for x in includes if len(x.strip()) > 0 ]) 
    205205 
    206     cmd = 'cd %s && cython -p %s %s.pyx 1>log 2>err '%(build_dir, cython_include, name) 
     206    cmd = 'cd %s && cython -p --pre-import sage.all %s %s.pyx 1>log 2>err '%(build_dir, cython_include, name) 
    207207 
    208208    if create_local_c_file: 
Note: See TracChangeset for help on using the changeset viewer.