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

Comment(by leif):

 Replying to [comment:23 mpatel]:
 > Suppressing the ''copying...'' messages sounds good to me.  Should we
 have an option to enable them?

 I have a patched Python package here that currently only adds the `if
 verbose:`.

 Unfortunately, setting `distutils.log`'s verbosity level (before calling
 `setup()`) seems to not work for some reason. It's not clear what the
 `verbose` parameter is supposed to change, and apparently it isn't
 [always] passed to `copy_file()`.

 There's always `DISTUTILS_DEBUG` btw. ;-)

 We could make use of Sage environment variables (e.g. `SAGE_DEBUG_BUILD`,
 or `SAGE_DISTUTILS_VERBOSITY_LEVEL`) directly there, enabling more output.
 But I think keeping the other messages of the same verbosity level (like
 "''creating ...''" etc.) is ok, I'm not sure about "''moving ...''" of
 which we also have a lot, but by far not that many.

 Did I already tell the `install.log` size drops to less than the half with
 non-verbose untarring and "copying" messages suppressed? (Also quite
 significantly depends on the length of `$SAGE_ROOT`...)

 > Should we use suppress "tarbosity" in `sage-bdist`, too?

 Less important, at least to me.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10040#comment:24>
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