#13245: sage --clone: do not rebuild the entire Sage library, and do not rebuild
the docs
-------------------------------------------------+--------------------------
Reporter: jhpalmieri | Owner: leif
Type: defect | Status: needs_review
Priority: blocker | Milestone: sage-5.10
Component: scripts | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: John Palmieri
Authors: John Palmieri, Leif Leonhardy | Merged in:
Dependencies: | Stopgaps:
-------------------------------------------------+--------------------------
Comment (by leif):
Replying to [comment:56 leif]:
> And we should really disable (postpone) Cython-generated files "out-of-
tree", since this breaks both `sage-clone` and `sage-sync-build`, i.e.,
set `build_dir` to `None` in `setup.py`.
Inline patch, worth its own (blocker) ticket:
{{{
#!diff
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -537,7 +537,8 @@
ext_modules = cythonize(
ext_modules,
nthreads = int(os.environ.get('SAGE_NUM_THREADS', 0)),
- build_dir = 'build/cythonized',
+ build_dir = None, # Don't "cythonize out-of-tree" until
+ # sage-clone and sage-sync-build can deal with
that.
force=force)
open(version_file, 'w').write(Cython.__version__)
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13245#comment:57>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.