#10040: Don't ask for verbose output from tar when installing packages
------------------------------+---------------------------------------------
   Reporter:  mpatel          |       Owner:  leif        
       Type:  enhancement     |      Status:  needs_review
   Priority:  minor           |   Milestone:              
  Component:  build           |    Keywords:              
     Author:  Leif Leonhardy  |    Upstream:  N/A         
   Reviewer:                  |      Merged:              
Work_issues:                  |  
------------------------------+---------------------------------------------

Comment(by leif):

 Oh, the ''"copying ..."'' messages appear to be a distutils '''bug''';
 {{{distutils.file_util.copy_file()}}} has a {{{verbose}}} (default: 0)
 parameter, but doesn't use it!

 If I change it to the following:
 {{{
 #!python
     ...
     if verbose: # added just this line
         if os.path.basename(dst) == os.path.basename(src):
             log.info("%s %s -> %s", action, src, dir)
         else:
             log.info("%s %s -> %s", action, src, dst)
     ...
 }}}
 the ''"copying ..."'' messages vanish at least for mpmath (I only tried
 that so far).

 Opinions? (before I open a ticket for that)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10040#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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to