On Wed, Jul 14, 2010 at 2:31 PM, Johannes <dajo.m...@web.de> wrote:
> i want to check which part of the sagecode makes problems when trying to
> port it to python 3.x. For that, I want want to build it with the '-3'
> option, but i dont want to edit every single makefile. is the a special
> place to put something like a global python build parameter?

This is a runtime option you pass to python rather than a build
option.  To make use of it , you can make the following change in
$SAGE_ROOT/local/bin/sage-sage


--- a/sage-sage
+++ b/sage-sage
@@ -205,7 +205,7 @@

 sage() {
     sage_setup
-    sage-ipython "$@" -i
+    python -3 sage-ipython "$@" -i
 }

 if [ $# -eq 0 ]; then


Then, you'll see a lot of deprecation warnings when Sage starts.

--Mike

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to