#7688: remove byte-compiled files from the sage source distribution
--------------------------------+-------------------------------------------
       Reporter:  was           |         Owner:  tbd     
           Type:  defect        |        Status:  new     
       Priority:  minor         |     Milestone:  sage-5.4
      Component:  distribution  |    Resolution:          
       Keywords:                |   Work issues:          
Report Upstream:  N/A           |     Reviewers:          
        Authors:                |     Merged in:          
   Dependencies:                |      Stopgaps:          
--------------------------------+-------------------------------------------
Description changed by jdemeyer:

Old description:

> There are tons of Python byte-compiled files included in the Sage source
> distribution, all over the place.   I can't see why we include any of
> these.  We could (a) delete them all, and (b) complain to all relevant
> upstreams about them.
>
> Here's a list:
>
> {{{
> sage-4.3.rc0/spkg/standard/jinja-1.2.p0/src/tests/test_macros.pyc: python
> 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja-1.2.p0/src/tests/test_parser.pyc: python
> 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja-1.2.p0/src/tests/test_filters.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja-1.2.p0/src/tests/test_ifcondition.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja-1.2.p0/src/tests/test_security.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja-1.2.p0/src/tests/test_inheritance.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja-1.2.p0/src/tests/test_lexer.pyc: python
> 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja-1.2.p0/src/tests/loaderres/__init__.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja-1.2.p0/src/tests/test_streaming.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja-1.2.p0/src/tests/test_syntax.pyc: python
> 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja-1.2.p0/src/tests/test_undefined.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja-1.2.p0/src/tests/test_loaders.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja-1.2.p0/src/tests/test_forloop.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja-1.2.p0/src/tests/test_i18n.pyc: python
> 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja-1.2.p0/src/tests/test_tests.pyc: python
> 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja-1.2.p0/src/tests/test_various.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja2-2.1.1.p0/src/tests/test_various.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja2-2.1.1.p0/src/tests/test_undefined.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja2-2.1.1.p0/src/tests/test_tests.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja2-2.1.1.p0/src/tests/test_syntax.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja2-2.1.1.p0/src/tests/test_streaming.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja2-2.1.1.p0/src/tests/test_security.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja2-2.1.1.p0/src/tests/test_parser.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja2-2.1.1.p0/src/tests/test_old_bugs.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja2-2.1.1.p0/src/tests/test_macros.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja2-2.1.1.p0/src/tests/test_lrucache.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja2-2.1.1.p0/src/tests/test_loaders.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja2-2.1.1.p0/src/tests/test_lexer.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja2-2.1.1.p0/src/tests/test_inheritance.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja2-2.1.1.p0/src/tests/test_imports.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja2-2.1.1.p0/src/tests/test_ifcondition.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja2-2.1.1.p0/src/tests/test_i18n.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja2-2.1.1.p0/src/tests/test_forloop.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja2-2.1.1.p0/src/tests/test_filters.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja2-2.1.1.p0/src/tests/test_ext.pyc: python
> 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja2-2.1.1.p0/src/tests/test_debug.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja2-2.1.1.p0/src/tests/loaderres/__init__.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/jinja2-2.1.1.p0/src/docs/jinjaext.pyc: python
> 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/maxima-5.19.1.p2/src/src/numerical/slatec.lisp:
> Emacs v18 byte-compiled Lisp data
> sage-4.3.rc0/spkg/standard/maxima-5.19.1.p2/src/src/sys-proclaim.lisp:
> Emacs v18 byte-compiled Lisp data
> sage-4.3.rc0/spkg/standard/maxima-5.19.1.p2/src/share/affine/sys-
> proclaim.lisp: Emacs v18 byte-compiled Lisp data
> sage-4.3.rc0/spkg/standard/moin-1.5.7.p3/patches/macro/latex.pyc: python
> 2.4 byte-compiled
> sage-4.3.rc0/spkg/standard/moin-1.5.7.p3/patches/parser/inline_latex.pyc:
> python 2.4 byte-compiled
> sage-4.3.rc0/spkg/standard/moin-1.5.7.p3/patches/parser/latex.pyc: python
> 2.4 byte-compiled
> sage-4.3.rc0/spkg/standard/numpy-1.3.0.p2/src/doc/sphinxext/numpydoc.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/numpy-1.3.0.p2/src/doc/sphinxext/docscrape.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/numpy-1.3.0.p2/src/doc/sphinxext/phantom_import.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/numpy-1.3.0.p2/src/doc/sphinxext/docscrape_sphinx.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/numpy-1.3.0.p2/src/doc/sphinxext/autosummary.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/numpy-1.3.0.p2/src/doc/sphinxext/only_directives.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/python-2.6.2.p4/src/Lib/warnings.pyc: python
> 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/python-2.6.2.p4/src/Lib/linecache.pyc: python
> 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/python-2.6.2.p4/src/Lib/encodings/__init__.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/python_gnutls-1.1.4.p6/src/gnutls/__init__.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/python_gnutls-1.1.4.p6/src/gnutls/library/__init__.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/python_gnutls-1.1.4.p6/src/gnutls/library/types.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/python_gnutls-1.1.4.p6/src/gnutls/library/constants.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/sagenb-0.4.7/src/sagenb/data/jquery/plugins/jeditable/jquery.jeditable.mini.js:
> Emacs v18 byte-compiled Lisp data
> sage-4.3.rc0/spkg/standard/scipy_sandbox-20071020.p4/arpack/arpack.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/scipy_sandbox-20071020.p4/arpack/tests/test_arpack.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/scipy_sandbox-20071020.p4/arpack/info.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/scipy_sandbox-20071020.p4/arpack/__init__.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/sqlalchemy-0.4.6.p1/src/test/binary_data_one.dat:
> python 2.4 byte-compiled
> sage-4.3.rc0/spkg/standard/sqlalchemy-0.4.6.p1/src/test/binary_data_two.dat:
> python 2.4 byte-compiled
> sage-4.3.rc0/spkg/standard/extcode-4.3.rc0/sagebuild/build/action.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/extcode-4.3.rc0/sagebuild/build/__init__.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/extcode-4.3.rc0/sagebuild/build/enviroment.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/extcode-4.3.rc0/sagebuild/build/compilers/__init__.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/extcode-4.3.rc0/sagebuild/build/compilers/all.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/extcode-4.3.rc0/sagebuild/build/compilers/cython.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/extcode-4.3.rc0/sagebuild/build/compilers/gcc.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/extcode-4.3.rc0/sagebuild/build/filewalker.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/extcode-4.3.rc0/sagebuild/build/all.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/extcode-4.3.rc0/sagebuild/build/optionmanager.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/extcode-4.3.rc0/sagebuild/build/taskmanager.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/extcode-4.3.rc0/sagebuild/build/compiler.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/extcode-4.3.rc0/sagebuild/build/config.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/extcode-4.3.rc0/sagebuild/build/dependencies.pyc:
> python 2.5 byte-compiled
> sage-4.3.rc0/spkg/standard/sage_scripts-4.3.rc0/ipython/ipy_user_conf.pyc:
> python 2.4 byte-compiled
> }}}

New description:

 There are a few Python byte-compiled files included in the Sage source
 distribution, all over the place.  I can't see why we include any of
 these.  We could (a) delete them all, and (b) complain to all relevant
 upstreams about them.

 Here's a list:

 {{{
 jdemeyer@sage:/release/sage-5.4.rc1$ find . -name '*.pyc' |xargs file
 ./spkg/standard/extcode/sagebuild/build/__init__.pyc:               python
 2.5 byte-compiled
 ./spkg/standard/extcode/sagebuild/build/action.pyc:                 python
 2.5 byte-compiled
 ./spkg/standard/extcode/sagebuild/build/all.pyc:                    python
 2.5 byte-compiled
 ./spkg/standard/extcode/sagebuild/build/compiler.pyc:               python
 2.5 byte-compiled
 ./spkg/standard/extcode/sagebuild/build/compilers/__init__.pyc:     python
 2.5 byte-compiled
 ./spkg/standard/extcode/sagebuild/build/compilers/all.pyc:          python
 2.5 byte-compiled
 ./spkg/standard/extcode/sagebuild/build/compilers/cython.pyc:       python
 2.5 byte-compiled
 ./spkg/standard/extcode/sagebuild/build/compilers/gcc.pyc:          python
 2.5 byte-compiled
 ./spkg/standard/extcode/sagebuild/build/config.pyc:                 python
 2.5 byte-compiled
 ./spkg/standard/extcode/sagebuild/build/dependencies.pyc:           python
 2.5 byte-compiled
 ./spkg/standard/extcode/sagebuild/build/enviroment.pyc:             python
 2.5 byte-compiled
 ./spkg/standard/extcode/sagebuild/build/filewalker.pyc:             python
 2.5 byte-compiled
 ./spkg/standard/extcode/sagebuild/build/optionmanager.pyc:          python
 2.5 byte-compiled
 ./spkg/standard/extcode/sagebuild/build/taskmanager.pyc:            python
 2.5 byte-compiled
 ./spkg/standard/scipy/src/doc/sphinxext/docscrape.pyc:              data
 ./spkg/standard/scipy/src/doc/sphinxext/docscrape_sphinx.pyc:       data
 ./spkg/standard/scipy/src/doc/sphinxext/numpydoc.pyc:               data
 ./spkg/standard/scipy/src/doc/sphinxext/plot_directive.pyc:         data
 ./spkg/standard/singular/src/dyn_modules/openmath/context.pyc:      python
 2.4 byte-compiled
 ./spkg/standard/singular/src/dyn_modules/openmath/omexceptions.pyc: python
 2.4 byte-compiled
 ./spkg/standard/singular/src/dyn_modules/python/perf.pyc:           python
 2.3 byte-compiled
 }}}

--

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