#10801: Create a new option: "sage -strip" which deletes things that aren't 
needed
for a binary distribution of sage, or for people that will never develop or
upgrade
---------------------------+------------------------------------------------
   Reporter:  was          |          Owner:  tbd         
       Type:  enhancement  |         Status:  needs_review
   Priority:  major        |      Milestone:  sage-4.7.2  
  Component:  packages     |       Keywords:              
Work_issues:               |       Upstream:  N/A         
   Reviewer:               |         Author:              
     Merged:               |   Dependencies:              
---------------------------+------------------------------------------------

Comment(by was):

 Replying to [comment:15 kini]:
 > Some thoughts:
 >
 >  * In `strip_binaries()`, why not strip all executables? One can find
 them by checking exit status of `find . -perm /111 | grep "not stripped"
 &> /dev/null`, I think.

 LATER: This could be added, but can we do it later in a future ticket.  It
 would be good if the first version of this patch is quite safe.  Hey, it
 already saves *1 GB* as is!

 >  * The *`_with_condition()` functions should not talk about extensions
 in their docstrings.

 OK: I'll fix the patch right now.

 >  * What about getting rid of !MoinMoin? (fake edit: never mind, the
 ticket description is wrong or out of date - it's under 20 MB)
 >

 NO:  Pointless, and scary in that it would break functionality, which is
 probably a bad idea.  Good point about the size.  I must have been testing
 something with some optional fonts installed.

 > Going a bit farther, considering the target users will never develop or
 upgrade,
 >
 >  * Should we delete mercurial repos?

 FUTURE: Yes, but in a future version of this?

 >  * Should we delete SPKGs?

 FUTURE: It's safer to put a small string in each, to avoid confusion.
 This happens automatically when you build a binary with "sage -bdist".
 Anyway, this is something that could be added later.

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