Thanks everybody -- that was extremely helpful!

On Wed, Dec 30, 2015 at 12:49 PM, Francois Bissey
<[email protected]> wrote:
>
>> On 31/12/2015, at 09:31, Volker Braun <[email protected]> wrote:
>>
>> There isn't an easy way to "delete everything thats not needed in a 
>> system-wide install". Ideally you should only need the "sage" script and the 
>> SAGE_LOCAL tree, but that is currently not the case.
>>
>> In the binary packaging I'm excluding the following:
>>
>>       - exclude: '**.pyc'
>>       - exclude: '**.pyo'
>>       - exclude: upstream/**
>>       - exclude: src/doc/output/doctrees/**
>>       - exclude: src/build/lib.*/**
>>       - exclude: src/build/temp.*/**
>>       - exclude: logs/**
>>       - exclude: config.log
>>
>> TODOs are at least
>> * The Cython debugging information should be installed in SAGE_SHARE or so
>
> Currently installed in /usr/share/sage/src/build/cython_debug/ in 
> sage-on-gentoo,
> the location will need further tweaks to make it more palatable. Improving 
> that is
> on my TODO as well.
>
>> * Ditto for the documentation (html+pdf output, not the intermediate 
>> doctrees)
>
> Done here in sage-on-gentoo in /usr/share/doc/sage but the moving of the 
> files themselves
> is done at the package management level. I guess it could be done at the 
> makefile level but
> I am not using it. Would consider using a doc specific makefile (the current 
> one is, should we say,
> minimal).
>
>> * Doctests that rely on the Sage source tree should be removed / made 
>> optional (e.g. sagedev)
>>
>
> Currently shipping .pyx alongside .py and .so files for doctesting purpose. 
> The thing is
> testing shouldn’t be done after you installed sage. It should be done after 
> you build
> and *before* you install. And at that time it is fair to need the source 
> tree. But that’s a
> major shift.
>
>> The 6.3GB are probably a few big databases, there isn't much that you can do 
>> about that besides not installing them…
>>
>
> Agreed on that:
> fbissey@QCD-nzi3 ~/sandbox/git-fork/sage-6.10 $ du -sch * |sort -h
> 0       config.log
> 0       upstream
> 4.0K    VERSION.txt
> 4.0K    bootstrap
> 8.0K    Makefile
> 8.0K    sage
> 16K     README.txt
> 32K     config.status
> 40K     m4
> 44K     aclocal.m4
> 44K     configure.ac
> 72K     COPYING.txt
> 116K    config
> 260K    configure
> 624K    autom4te.cache
> 7.7M    build
> 129M    logs
> 2.4G    src
> 3.0G    local
> 5.5G    total
>
> My upstream folder is a link because I share it with all the vanilla sage 
> copies
> I may have.
>
> François
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" 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 https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.



-- 
William (http://wstein.org)

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" 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 https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to