Ticket #14721: trac_14721-postpone_cythonizing_out_of_tree.sagelib.patch

File trac_14721-postpone_cythonizing_out_of_tree.sagelib.patch, 788 bytes (added by Leif Leonhardy, 9 years ago)

Apply to the Sage library. Based on Sage 5.10.rc1.

  • setup.py

    # HG changeset patch
    # User Leif Leonhardy <not.really@online.de>
    # Date 1370969581 -7200
    # Node ID 174516d7542a326fd58f403d037266d43d81275d
    # Parent  ec6a3e8365f9c930df8da62874d84f198ad59ca4
    #14721: Don't "cythonize out-of-tree" (introduced by #14570) until sage-clone and sage-sync-build can deal with that.
    
    diff --git a/setup.py b/setup.py
    a b  
    537537    ext_modules = cythonize(
    538538        ext_modules,
    539539        nthreads = int(os.environ.get('SAGE_NUM_THREADS', 0)),
    540         build_dir = 'build/cythonized',
     540        build_dir = None, # Don't "cythonize out-of-tree" (cf. #14570) until
     541                          # sage-clone and sage-sync-build can deal with that.
    541542        force=force)
    542543
    543544    open(version_file, 'w').write(Cython.__version__)