#18508: Various python 3 issues
-------------------------------------+-------------------------------------
       Reporter:  ohanar             |        Owner:
           Type:  task               |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.8
      Component:  build              |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  R. Andrew Ohana    |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/ohanar/python3smallfixes         |  9d2af12245346ddaff1d6727fe968fdfbbc4cb84
   Dependencies:  #17607             |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 I don't like this from #17607:
 {{{
     if [ "$1" = all ]; then
         PKG_VAR=PYTHON
         if [ "$SAGE_PYTHON3" = yes ]; then
             PKG_NAME=python3
         else
             PKG_NAME=python2
         fi
         PKG_VERSION=$(newest_version $PKG_NAME)
         echo "$PKG_NAME $PKG_VERSION $PKG_VAR"
     fi
 }}}

 Just define `PYTHON` as alias of `PYTHON2` or `PYTHON3`, analogous how
 `build/install` deals with `GMP/MPIR` and the toolchain. See the
 `SAGE_MP_LIBRARY` and `TOOLCHAIN` variables.

--
Ticket URL: <http://trac.sagemath.org/ticket/18508#comment:10>
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to